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

🧐[问题]通过设置scale.y.domain的第一个数比第二个数大,实现条形图反向(从右往左),是支持的用法吗? #2654

Open
niaodan2b opened this issue Aug 14, 2024 · 0 comments

Comments

@niaodan2b
Copy link

🧐 问题描述 [详细地描述问题,让大家都能理解]

想实现Bar图从右往左的效果,翻了一遍文档没找到相关配置,无意中发现调换scale.y.domain的最小值和最大值,就能实现Bar
图反向,但不知道这种做法是hack还是受支持的功能?
如果是受支持的功能,似乎又有个bug,就是在这样反转的情况下markBackground颜色会消失。

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