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
如图中所示,官方示例中仅添加.label({text: 'price'}),数据标签显示的仍是原始数据,而非聚合后的数据
No response
The text was updated successfully, but these errors were encountered:
这应该是一个 bug,我看看有没有办法解决。
Sorry, something went wrong.
@CODPHISH 这个 PR #6250 引入了新的 API 解决了这个问题:
chart.interval().label({ text: (d, i, data, {channel}) => channel.y[i] })
pearmini
Successfully merging a pull request may close this issue.
问题描述
如图中所示,官方示例中仅添加.label({text: 'price'}),数据标签显示的仍是原始数据,而非聚合后的数据
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: