Skip to content
New issue

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

堆叠图形的堆叠顺序是逆序的,可以改成正顺吗 #179

Open
tianlaixhh opened this issue Jan 17, 2018 · 0 comments
Open

堆叠图形的堆叠顺序是逆序的,可以改成正顺吗 #179

tianlaixhh opened this issue Jan 17, 2018 · 0 comments

Comments

@tianlaixhh
Copy link

tianlaixhh commented Jan 17, 2018

我的需求/我的问题

我在使用堆叠柱状图时发现堆叠是按照数据逆序的排列的,与图例刚好相反

数据以及出现问题的源代码

请以官网上为例:https://antv.alipay.com/zh-cn/g2/3.x/demo/bar/stacked-percentage-column.html

源码:src/components/geom/base.js 652行固定写死
adjustCfg.reverseOrder = true;

我的期望

能改成正顺或者提供配置吗?就像盖房子,从下到上一层一层的来,而不是现在看起来很别扭(用户体验很差)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant