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

how to set the YAxis or XAxis for custom value #590

Closed
hengchengfei opened this issue Dec 4, 2015 · 1 comment
Closed

how to set the YAxis or XAxis for custom value #590

hengchengfei opened this issue Dec 4, 2015 · 1 comment

Comments

@hengchengfei
Copy link

Now axis has labelCount property,value was calculated automatically.

I want to set the values manually.

for example,leftAxis.displayVlaues = [4.0,5.2,6.4]

thank you

@liuxuan30
Copy link
Member

well seems you can't. the y axis values is calcuated internally. you could take a look at computeAxisValues in y axis renderer, maybe you can find a way to do it, by combining customAxisMin/Max + labelCount + isForceLabelsEnabled

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