-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
limit line real time update #1755
Comments
What's the problem exactly? The y-axis changes? That's normal, if you added entries with higher Ys. You can limit the viewport to only show part of the axis, and force the user to scroll. |
The problem is as you see, |
@wajihkm Try removing the limit line and adding it back to the graph each time you change the limit! |
Since you changed the value, you can call |
How to draw Gradient limit line |
Thanks for this nice library.
I added a limit line to a CombinedChart,
![1](https://cloud.githubusercontent.com/assets/18402145/19855425/ec196a2a-9f8d-11e6-8ebb-c15fb5ba8e8c.png)
it's dashed line labeled (average speed).
![2](https://cloud.githubusercontent.com/assets/18402145/19855510/693aaf00-9f8e-11e6-8afe-c28cc403cc78.png)
I added some new entries to line chart data and updated the limit of limitline
limitLine.limit = newSpeedAvg
this updated the line x position but still related to the initial canvas hieght,
So the last view was this:
So is this a bug or an error in my code ?
Thanks
The text was updated successfully, but these errors were encountered: