Skip to content

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)

View source

Summary: Initializes and adds a new scatter plot line to the chart using the specified data points and axis.

Parameters

NameTypeDescription
data(string? Name, IList X, IList Y, int Axis)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.