Skip to content

,System.Collections.Generic.IList{System.Double>

Defined in

Type: ScatterUI Namespace: CrissCross.WPF.Plot Assembly: CrissCross.WPF.Plot.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public void InsertData(IList<double> x, IList<double> y)

View source

Summary: Replaces the current scatter plot data with the specified X and Y coordinate values.

Parameters

NameTypeDescription
xIListThe collection of X values to plot. The number of elements must match the number of elements in y. Cannot be null.
yIListThe collection of Y values to plot. The number of elements must match the number of elements in x. Cannot be null.

Remarks

Both x and y must contain the same number of elements. Existing plot data will be replaced with the new values.

Exceptions

TypeCondition
System.ArgumentNullExceptionThrown if x or y is null.