Easy way to sum multiple PointLineSeries?

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

Posts: 41
Joined: Thu Apr 06, 2017 2:29 am

Easy way to sum multiple PointLineSeries?

Post by plotter » Wed Nov 29, 2017 5:12 pm

Good Morning,
I need to sum several PointLineSeries on a Y Axis. Each existing PointLineSeries is presented as a StepLine.
(The data on each series does not change at common x axis intervals.)
I want to display a new PointLineSeries with the calculated summed values of the existing series.
Is there any easy, or built-in way to achieve this ?

Posts: 386
Joined: Mon Mar 14, 2016 9:22 am

Re: Easy way to sum multiple PointLineSeries?

Post by ArctionKestutis » Thu Nov 30, 2017 8:13 am


No, we don't have build in function for calculating sum/mean of series. The closest method is AxisY.GetSeriesMinMax(), which gets minimum and maximum of all series that are using this axis.

However, LightningChart has some visualization alternatives, which you may consider.
If number of point is not very high, you may try BarSeries with stacked groups (BarViewOptions.Stacking = Stack). If interested in this approach, please check User's Manual for more details.
LightningChart has 'persistent rendering layers'. Please check corresponding examples in Demo App and User's Manuals are those ideas suitable for you.

All the best.