AxisLinesUI.CreateHorizontalLine(double) method¶
Defined in
Type: AxisLinesUI
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 CreateHorizontalLine(double position = 0)
Summary: Adds a horizontal line to the plot at the specified vertical position.
Parameters
| Name | Type | Description |
|---|---|---|
position = 0 | double | The vertical position, in plot coordinates, where the horizontal line will be drawn. Defaults to 0.0. |
Remarks
The line's appearance, including color, width, label text, and alignment, is determined by the current chart settings. Use this method to highlight a specific value or threshold on the plot.