G2Plot icon indicating copy to clipboard operation
G2Plot copied to clipboard

Bar/GroupBar的数据为啥要reverse

Open Jeffy2012 opened this issue 7 years ago • 6 comments

Jeffy2012 avatar Nov 25 '19 06:11 Jeffy2012

@zqlu

paleface001 avatar Nov 25 '19 06:11 paleface001

是为了数据顺序看起来是从上往下的,同时在配置了垂直滚动条的时候,也是和滚动条从上往下滚动方向一致的

lessmost avatar Nov 25 '19 06:11 lessmost

但是 percentage-stack-bar和StackBar没有reverse

Jeffy2012 avatar Nov 25 '19 06:11 Jeffy2012

但是 percentage-stack-bar和StackBar没有reverse

stackBar是有的,percentage是漏掉了

lessmost avatar Nov 25 '19 07:11 lessmost

percentage有岂不是很奇怪

paleface001 avatar Nov 25 '19 07:11 paleface001

image

这个demo,如有有的话,就1950在上方,2050在下方

lessmost avatar Nov 25 '19 07:11 lessmost