TiPlotChannel.DataBarPenStyle

TiPlotChannel

Specifies the pen style used when drawing the specified Data Point Bar.

type TPenStyle = (psSolid, psDash, psDot, psDashDot, psDashDotDot, psClear, psInsideFrame);

property DataBarPenStyle[const Index: Integer : TPenStyle;

Description

Use BarPenStyle to get or set the pen style used when drawing the specified Data Point Bar.

For example, if you specify an Index of 2 (Data Point #3), then you are referring to the Data Bar for Data Point Index 2 (Data Point #3).

As data points are added to the channel, the individual Data Bar Pen Style for each Data Point is automatically populated with the Overall Bar Pen Style property: BarPenStyle. You only need to set the DataBarPenStyle property when you want the Data Bar Pen Style for this Data Point to differ from the default.

Important Note! : This property only affects those channels with their DataStyle property set to ipdsFullFeature.

These are the possible values:

Value
Meaning
psSolid
A solid line.
psDash
A line made up of a series of dashes.
psDot
A line made up of a series of dots.
psDashDot
A line made up of alternating dashes and dots.
psDashDotDot
A line made up of a series of dash-dot-dot combinations.
psClear
No line is drawn (used to omit the line around shapes that draw an outline using the current pen).
psInsideFrame
A solid line, but one that may use a dithered color if Width is greater than 1.

Example

Delphi

iComponent.Channel[0].DataBarPenStyle[100] := psSolid;

C++ Builder

iComponent->Channel[0]->DataBarPenStyle[100] = psSolid;

Contents | Index | Previous | Next