Bizchart Legend 显示异常,怎么解决呢
配置如下
<Legend
marker={{
symbol: "circle",
style: {
fill: null,
},
}}
maxWidth={500}
position="right-top"
offsetY="20"
layout="horizontal"
itemName={{
spacing: 10, // 文本同滑轨的距离
style: {
// stroke: 'blue',
fill: "red",
},
formatter: (text, item, index) => {
console.log("text", text, item);
return text;
},
}}
/>