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

坐标轴可以设置轴交叉位置么 #4146

Closed
pyuyu opened this issue Sep 16, 2022 · 1 comment
Closed

坐标轴可以设置轴交叉位置么 #4146

pyuyu opened this issue Sep 16, 2022 · 1 comment

Comments

@pyuyu
Copy link

pyuyu commented Sep 16, 2022

image
类似于这样,设置x轴从y=1交叉,不是和y=0交叉

@hustcc
Copy link
Member

hustcc commented Dec 6, 2022

可以的。只需要 y 字段的数据是一个数组: [start, end]。就可以指定一个柱子的上下数据了。然后只要数据上都是以 1 为分界,图形就是 y=1 交叉的。

@hustcc hustcc closed this as completed Dec 6, 2022
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

2 participants