Skip to content

DataLoggerUI.CreateDataLogger(string) method

Defined in

Type: DataLoggerUI 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 CreateDataLogger(string color)

View source

Summary: Initializes a new data logger line on the plot and sets its color using the specified hex value.

Parameters

NameTypeDescription
colorstringA string representing the color of the data logger line in hexadecimal format (e.g., "#FF0000" for red). Must be a valid hex color code.

Remarks

The data logger line is configured with a fixed line width and axis limits are not managed automatically. The color is applied using the provided hex code. If the color string is not a valid hex code, the resulting color may be unpredictable.