Page 1 of 1

LiteLineSeries Points binding

Posted: Sun Sep 11, 2022 8:44 am
by nik9999
Simple example for Points property binding in LiteLineSeries?

Re: LiteLineSeries Points binding

Posted: Tue Sep 13, 2022 12:45 pm
by ArctionKestutis
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.