How to realize auto scale for y axis? #323
-
How can i realize this scale feature? I need to know what first and last entry is currently visible on screen |
Beta Was this translation helpful? Give feedback.
Answered by
patrickmichalik
Aug 1, 2023
Replies: 1 comment 2 replies
-
Hello! At the moment, this feature isn’t available. As I understand, you’re looking to implement it yourself. You can determine what entries are visible by using the width of the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
makaronis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! At the moment, this feature isn’t available. As I understand, you’re looking to implement it yourself. You can determine what entries are visible by using the width of the
Chart
bounds, the scroll amount, andHorizontalDimensions
.HorizontalAxis
, for example, calculates what x values are visible—see here. The intersection of this and the x values in the data set is what you’re looking for.