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
Syntaxpublic int AddPoints(
double[,] data,
bool invalidateChart
)
Public Function AddPoints (
data As Double(,),
invalidateChart As Boolean
) As Integer
public:
int AddPoints(
array<double,2>^ 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:
Int32Series sample count after adding.
See Also