,System.Collections.Generic.IList{System.Double>
Defined in Type: LiveChartViewModel
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 InitializeLinesForScatterPoints((string? Name, IList<double> X, IList<double> Y, int Axis) data)
Summary: Initializes and adds a new scatter plot line to the chart using the specified data points and axis.
Parameters
| Name | Type | Description |
|---|---|---|
data | (string? Name, IList | A tuple containing the series name, the X and Y coordinate lists, and the axis index to which the scatter points are assigned. The axis index must be within the range of available axes. |
Remarks
This method updates the chart's visual elements and ensures the corresponding axis is visible for the new scatter series. After initialization, the chart objects collection is refreshed to reflect the changes for external access.