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

Y-Axis labels zooming issue #991

Closed
Monika-Tapadiya opened this issue Apr 29, 2016 · 1 comment
Closed

Y-Axis labels zooming issue #991

Monika-Tapadiya opened this issue Apr 29, 2016 · 1 comment

Comments

@Monika-Tapadiya
Copy link

Monika-Tapadiya commented Apr 29, 2016

Hello,
I am using LineChartView to draw linear equation graph and enabled _chartView.pinchZoomEnabled = YES; for zooming graph but when i am trying to zoom it, it is showing y numbers twice or thrice.Please check the screen shot.It is happening on with the number from 0 -10, if I put max value more than 10 on yAxis then zooming is not causing the issue.
I also tried with * [_chartView.viewPortHandler setMaximumScaleY: 2.f];* but if I pass 1 graph won't zoom , if I pass 3 in it repeats value thrice on zooming.
I am not getting what causes the problem here.
Please help.

Thanks!

screen shot 2016-04-29 at 2 41 05 pm
screen shot 2016-04-28 at 4 14 25 pm

@liuxuan30
Copy link
Member

disable allowRepeatValues or, use decimal formatters.

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