ChartView is too slow
Solved
General and Desktop
-
Hello again :)
I use QML ChartView to display a big number of points, but it renders them too slowly. For example, it takes ~5 sec for 4500 points and app freezes with 21k points.
I tried to append points to LineSeries from c++ code but no change.
I thought it is because ChartView is redrawn every time I add a point, but I set Series.visible to false before adding the points and it didn't work either.
As far as I understand I can't add points to separate Series and then add this series to ChartView (maybe it would help).
I don't use c++ charts (as QChartView) because I also want to deploy the app for an android device.
Can you please suggest a way out of the situation? Or is there only a choice to use custom classes, e.g., based on QSGGeometry?
-
-