SeriesEventMarker performance

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
kDanil
Posts: 7
Joined: Tue Sep 23, 2014 2:09 pm

SeriesEventMarker performance

Post by kDanil » Mon Oct 13, 2014 4:01 pm

What is the fastest way to draw some text in chart?

We use SeriesEventMarkers with MoveByMouse = false, but have a big performance hit.

In our application we have aprox. 15000 line series + 12000 text labels (sample application is in attachment).
Scrolling and panning performance is poor if we add text labels but without them it is OK.
Attachments
LightningChartApp.zip
(22.26 KiB) Downloaded 561 times

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: SeriesEventMarker performance

Post by ArctionPasi » Tue Oct 14, 2014 11:28 am

Markers are the most efficient way to render text.

I performance profiled your application. There's just too many series objects and marker objects in the scene, and chart has to loop through them every time it renders, and reconstruct rendering data when panning.

If possible, try to group more series data under under one series.

By setting marker.MouseInteraction = true and series.MouseInteraction = true will help a little bit with the performance.
LightningChart Support Team, PT

Post Reply