Bizchart Legend 显示异常

Bizchart Legend 显示异常,怎么解决呢

image.png

配置如下

      <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;
          },
        }}
      />
阅读 1.5k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进