How to get dynamically added ChartEntry to render #241
Answered
by
snowman745
snowman745
asked this question in
Q&A
-
I have a chart that I want to steadily feed new data points. However, after creation any point added to lineChart.Entries is not rendering. How do I get dynamically added ChartEntry points to show up? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
snowman745
Feb 5, 2021
Replies: 1 comment
-
I found a way to make this work. Before, it was animating the chart each time i re-created it. Now on creation I set animation duration to zero seconds.
When I want to add a new point, I reset the lineChart.Entries property:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
snowman745
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found a way to make this work. Before, it was animating the chart each time i re-created it.
Now on creation I set animation duration to zero seconds.
When I want to add a new point, I reset the lineChart.Entries property:
lineChart.Entries = entries;