Performance

Sep 22, 2009 at 10:42 AM

Hi,

i have to display around 5 x 1000 values in a ChartPlotter which takes about 1-2 seconds. This is too slow for me. Is this normal and what is the fastest way to display line series?

Editor
Sep 25, 2009 at 12:29 PM

Hi,

 

This is not the easiest question, but I'll try to give you an advice.

1) Try to set some value to plotter.Visible property. This will disable mechanism of automatic charts' content bounds determining, and charts will arranged less times.

2) Try to disable filtering - instead of using plotter.AddLineChart(dataSource) method, which internally creates an instance of LineGraph and adds to it some filters, create this chart manually, set a DataSource property and add to plotter.Children.

3) Where is you data stored in? Maybe this also have some influence.

 

For now this is all what I can advise, maybe there are some extra information about this case you can share with me and which can help me to say more.

 

Best regards,

Mikhail.