Skip to content

AxisLinesUI.CreateVerticalLine(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 CreateVerticalLine(double position = 0)

View source

Summary: Adds a vertical line to the plot at the specified position.

Parameters

NameTypeDescription
position = 0doubleThe x-coordinate at which to place the vertical line. The default value is 0.0.

Remarks

The line's appearance, including color and width, is determined by the current chart settings. The line will display the label text specified by the LabelText property.