A
A
Alexander Prokopenko2022-02-02 05:36:28
C++ / C#
Alexander Prokopenko, 2022-02-02 05:36:28

How to optimize plotting?

Good afternoon, I need to draw a chart with a lot of data and so that it does not slow down, the built-in Win forms chart does not suit me because I need to add points when hovering over which I could see XYZ, now I use LiveCharts, but when the chart starts to draw more than 5 files of 60 lines with data, it starts to slow down, but I need 24 files. Every hour I should receive a file with time and coordinates that are recorded by minutes. Is there any way to speed up/optimize livecharts or some other solution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2022-02-02
@AlexanderProkopenko

There are several techniques for drawing a large number of points on a chart.
As you know, if there are more points on the graph than points on the screen (display area), when displayed, close points merge into one. This feature can be used to draw points on a chart. It will help speed up the redrawing of the chart during interactive interaction.
The second option is an approximate display of the plot using point thinning algorithms, such as the Ramer-Douglas-Pecker or Largest-Triangle-Three-Buckets algorithm .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question