TiPlotChannelCustom.DataMarkerPenStyle

TiPlotChannelCustom

Specifies the pen style used when drawing the data marker for a specific data point.

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

property DataMarkerPenStyle[const Index: Integer : TPenStyle;

Description

Use DataMarkerPenStyle to get or set the pen style used when drawing the data marker for a specific data point.

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

As data points are added to the channel, the individual Data Marker Pen Style for each Data Point is automatically populated with the Overall Markers Pen Style property: MarkersPenStyle. You only need to set the DataMarkerPenStyle property when you want the Data Marker 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

//Sets pen style of data marker for the 101st data point

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

C++ Builder

//Sets pen style of data marker for the 101st data point

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

Contents | Index | Previous | Next