Skip to content

SignalXY_UI.CreateSignal(string) method

Defined in

Type: SignalXY_UI 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 CreateSignal(string color)

View source

Summary: Creates a new signal plot line with the specified color.

Parameters

NameTypeDescription
colorstringA hexadecimal color string that determines the color of the signal line. Must be a valid hex color code.

Remarks

The signal is initialized with a single data point at the origin. The line width is set to 1 pixel. If the color string is not a valid hex code, an exception may be thrown by the underlying color conversion method.