VChart, more than just a cross-platform charting library, but also an expressive data storyteller.
775
stars
45
forks
source link
【Improved configuration ease of use】The configuration of field sorting in the data attribute is confusing #2768
Open
kkxxkk2019 opened 1 month ago
背景
sortIndex 属性在理解上有成本:
0 和 1 是什么?为什么要配置成 1
?在大部分场景,用户只是想针对一个字段进行排序,其实期望直接配置一个类似 [field]: {sort: 'desc' | 'asc' } 就好了。讨论