Skip to content

StreamerUI.CreateStreamer(string) method

Defined in

Type: StreamerUI 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 CreateStreamer(string color)

View source

Summary: Initializes a new data streamer line on the plot using the specified color.

Parameters

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

Remarks

The method configures the streamer line with default width and period settings, and scrolls the view to the left to display the most recent data points. The color parameter must be a valid hexadecimal color code; otherwise, an exception may be thrown by the color parsing logic.