Click or drag to resize

LiteLineSeriesAddPoints Method

LightningChart .NET Help
Add points to end of series, [N,2] format, where [i,0] is x and [i,1] is y.

Namespace:  Arction.Wpf.ChartingMVVM.SeriesXY
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
public int AddPoints(
	double[,] data,
	bool invalidateChart
)

Parameters

data
Type: SystemDouble
Data array.
invalidateChart
Type: SystemBoolean
Update chart after adding data. Updating will raise CPU load, which is why usage of this method is not recommended with every call if points are added many times per second.

Return Value

Type: Int32
Series sample count after adding.
See Also