antvis/G2

The issue has been closed
g2 动态条形图 颜色排序随Y轴数据变换而变换 #3612
GevinYang posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
https://g2.antv.vision/zh/examples/case/dynamic#dynamic-bar 官方示例里面 changeData() 颜色的排序并不随y轴值的变换而变换,观感上会有“数据的排序并没有改变” 虽然可以clear()再重新设置图表。但重新加载图表会破坏动态数据变化时图表的连贯性
What does the proposed API look like?
color() 添加 "颜色位置变换"option https://g2.antv.vision/zh/examples/case/dynamic#dynamic-bar 官网示例里面 颜色的排序并不随y轴值的变换而变换
<!-- generated by antv-issue-helper. DO NOT REMOVE -->