We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在使用多折线图时配置seriesField的formatter后,先渲染空数据,然后使用changedata给出实际的数据,则图例一直显示异常,如果一开始就有数据的话,则图例一直显示正常
Please provide a link by forking these links G2Plot or GitHub repo, a minimal reproduction.
codesandbox
如codesandbox中效果,如果将代码中的注释解除,则图例显示正常
图例之后能正常显示
The text was updated successfully, but these errors were encountered:
see: antvis/G2#3738
目前解决方案如下:
category: { type: 'cat', // 声明为分类字段 formatter(val) { return val; } }
Sorry, something went wrong.
No branches or pull requests
🐛 Bug description [Please make everyone to understand it]
在使用多折线图时配置seriesField的formatter后,先渲染空数据,然后使用changedata给出实际的数据,则图例一直显示异常,如果一开始就有数据的话,则图例一直显示正常
codesandbox
📷 Step to reproduce
如codesandbox中效果,如果将代码中的注释解除,则图例显示正常
🏞 Expected result
图例之后能正常显示
🚑 Any additional [like screenshots]
The text was updated successfully, but these errors were encountered: