SignalUI.CreateDataLogger(string) method¶
Defined in
Type: SignalUI
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)
Summary: Initializes a new data logger line on the plot and sets its color using the specified hex value.
Parameters
| Name | Type | Description |
|---|---|---|
color | string | A 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 disables automatic axis limit management. The view is adjusted to display the most recent 100 data points. If the color string is not a valid hex code, an exception may be thrown by the color conversion method.