LiteLineSeries Points binding

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
nik9999
Posts: 1
Joined: Sun Sep 11, 2022 8:41 am

LiteLineSeries Points binding

Post by nik9999 » Sun Sep 11, 2022 8:44 am

Simple example for Points property binding in LiteLineSeries?

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

Re: LiteLineSeries Points binding

Post by ArctionKestutis » Tue Sep 13, 2022 12:45 pm

LiteLineSeries as other 'block' series (SampleDataBlockSeries, LiteLineSeries, LiteFreeformLineSeries and DigitalLineSeries ) don't have getter for Points property. The reason that it is different design from 'old' series (SampleDataSeries, PointLineSeries, FreeformPointLineSeries): data are not stored as single array, but more fluid jagged array structure.
If you want to read value from Series, then use

Code: Select all

(LiteLineSeries).GetPointAtIndex(i);
where i is from 0 to series.PointCount.

Post Reply