TiPlotChannelCustom.DataMarkerPenColor

TiPlotChannelCustom

Specifies the pen color used to draw the data marker for a specific data point.

property DataMarkerPenColor[const Index: Integer : TColor;

Description

Use DataMarkerPenColor to get or set the pen color used to draw 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 Color for each Data Point is automatically populated with the Overall Markers Pen Color property: MarkersPenColor. You only need to set the DataMarkerPenColor property when you want the Data Marker Pen Color for this Data Point to differ from the default.

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

Example

Delphi

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

iComponent.Channel[0].DataMarkerPenColor[100] := clYellow;

C++ Builder

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

iComponent->Channel[0]->DataMarkerPenColor[100] = clYellow;

Contents | Index | Previous | Next