TiPlotChannelCustom.DataMarkerBrushColor

TiPlotChannelCustom

Specifies the brush color used to draw the data marker for a particular data point.

property DataMarkerBrushColor[const Index: Integer : TColor;

Description

Use DataMarkerBrushColor to get or set the brush color used to draw the data marker of a particular 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 Brush Color for each Data Point is automatically populated with the Overall Markers Brush Color property: MarkersBrushColor. You only need to set the DataMarkerBrushColor property when you want the Data Marker Brush 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 brush color of data marker for the 101st data point

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

C++ Builder

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

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

Contents | Index | Previous | Next