-
Notifications
You must be signed in to change notification settings - Fork 16
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
Allow to access to added series #14
Comments
I could give access to To match your use case, I could add an public void add_value_by_index(int serie_index, double value) {
add_value(series[serie_index], value);
} Another option would be to have access to some kind of read-only array list ; public void update (int serie_number, double value) {
Gee.List<Serie> series = chart.get_ro_series();
chart.add_value (series.get(serie_number, value);
} IMHO, the both options match your use case. The first is straight forward, the second is more versatile (hence, it could resolves more use cases) but requires a bit more code on your side. What do you think ? |
I created |
https://github.com/lcallarec/live-chart/releases/tag/1.5.1 Please let me know when it works on your side. Thanks ! |
works really nice thank You! |
I'm adding a few series and have to create another
ArrayList
to manipulate them. Would be nice to have an access tochart.series
.Use case:
The text was updated successfully, but these errors were encountered: