SeriesEventMarker performance

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

michel
Posts: 6
Joined: Wed Jun 29, 2016 3:34 pm

SeriesEventMarker performance

Post by michel » Tue Apr 14, 2020 2:01 pm

We're having issues with chart performance when there are a lot of serieseventmarkers (between 10 and 15 thousand)
Our chart displays stock prices and creates a marker when a large trade is detected. These markers are displayed as circles and the radius of the circle depends on the size of the trade that was detected. We also use the mouse interaction of the markers to display information about the trade when the user hovers the mouse over it.

At the end of the trading day when the chart shows all data it's almost not responding anymore. When removing the markers the chart response is back to normal.

Is there any other way to achieve the same functionality without using markers?

For an example see the attached image (top panel is showing price chart including markers - blue/red indicators)
chart.jpg
chart.jpg (220.67 KiB) Viewed 1318 times

ArctionKestutis
Posts: 383
Joined: Mon Mar 14, 2016 9:22 am

Re: SeriesEventMarker performance

Post by ArctionKestutis » Tue Apr 14, 2020 4:07 pm

Hello,

Yes, we are ware about such issue then number of SeriesEventMarkers goes above tens thousands. Actually we already have an improvement, but it is not released yet.
The workaround is to use PointLineSeries instead. Individual point size is not possible for line-series, but you could create several categories (maybe 10-100 PointLineSeries with increasing size).
In addition, for the 'information on mouse hovering' functionality, reuse same chart object. That is, use one Marker or Annotation, but change text and position according mouse cursor location.

Hope this helps.
All the best,
Kestutis