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

Get the visible max and min yAxis values #528

Closed
mariovillamizar opened this issue Nov 3, 2015 · 4 comments
Closed

Get the visible max and min yAxis values #528

mariovillamizar opened this issue Nov 3, 2015 · 4 comments

Comments

@mariovillamizar
Copy link

Is possible to get the visibles max and min values of yAxis or the visible center value of yAxis?

@liuxuan30
Copy link
Member

There is {highest/lowest}VisibleXIndex, so it is possible to get the value you want.
but the values on the y axis may be a little tricky, because it's calculated with some algorithm

@mariovillamizar
Copy link
Author

Yes @liuxuan30. I was trying to get a formula and eventually achieve an approximation, but can sometimes fails.

@liuxuan30
Copy link
Member

the formula is in computeAxis for the values on y axis

@liuxuan30
Copy link
Member

close as no update

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