Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当 encode.series 指定了某一个值时, tooltip.items 自定义 name 会失效 #6192

Open
CullenNg opened this issue Apr 23, 2024 · 0 comments

Comments

@CullenNg
Copy link

CullenNg commented Apr 23, 2024

问题描述

当我给 encode.series 指定了某一个值时, tooltip.items 自定义函数返回的 name 会失效,会强制返回为 series 指定的值;
items: [ () => { return { name: '定制名字', // 失败 value: 10000, // 成功的 } } ]

重现链接

https://codesandbox.io/p/sandbox/youthful-mountain-ldxlgr

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant