Skip to content

ScatterUI.CreateScatter(string) method

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 CreateScatter(string color)

View source

Summary: Creates a scatter plot with the specified color.

Parameters

NameTypeDescription
colorstringA string representing the color of the scatter plot, specified in hexadecimal format (e.g., "#FF0000" for red).

Remarks

The scatter plot is initialized with a single data point at (0, 0). The line and marker sizes are set to minimal values for a simple visual representation. The color must be a valid hexadecimal color code; otherwise, an error may occur when parsing the color.