TiStripChart.AddVerticalLine

TiStripChart

Adds a vertical line to the data view area of the chart.

procedure AddVerticalLine (Position : Double, Color : TColor, Width : Integer,

Style : TxiChannelLineStyle)

Description

Use AddVerticalLine to add a vertical like of the specified color, width, and style at the postion given. The vertical line will follow the X-Axis scale as it scrolls. To remove all vertical lines, call the RemoveAllVerticalLines method.

Value
Meaning
iclsSolid
A solid line.
iclsDash
A line made up of a series of dashes.
iclsDot
A line made up of a series of dots.
iclsDashDot
A line made up of alternating dashes and dots.
iclsDashDotDot
A line made up of a serious of dash-dot-dot combinations.

Example

Delphi

iComponent.AddVerticalLine(24.57, clRed, 1, iclsSolid);

C++ Builder

iComponent->AddVerticalLine(24.57, clRed, 1, iclsSolid);

Contents | Index | Previous | Next