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

如何获取可视区域内的所有坐标点? #293

Open
GanZhiXiong opened this issue Apr 21, 2024 · 2 comments
Open

如何获取可视区域内的所有坐标点? #293

GanZhiXiong opened this issue Apr 21, 2024 · 2 comments

Comments

@GanZhiXiong
Copy link

GanZhiXiong commented Apr 21, 2024

我想要这个需求的,目的其实是为了:
当图表滑动时,能获取可视区域的第一个坐标点和最后一点,并将坐标点的 x 值分别显示在 x 坐标轴的最左边和最右边。
如下图所示:
image

@GanZhiXiong GanZhiXiong changed the title How to get all the coordinate points of the visible area? 如何获取可视区域内的所有坐标点? Apr 21, 2024
@GanZhiXiong
Copy link
Author

@entronad
我对这个图表包还不熟,之前使用的是 fl_chart,但是它不支持滑动和缩放,你这个包是支持的,而且你这个设计的自定义更加强大,能设计复杂的图表。
但是示例并不多,而且我对 from Leland Wilkinson's The Grammar of Graphics,这种语法也不熟。

希望你能指点下,期待您的回复。

@GanZhiXiong
Copy link
Author

@dan12411 我想你应该知道这个问题。
我其实要实现的功能就是,当放大后,如果能够X轴标签不重叠,则显示,重叠则间隔显示。

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