TiPlotChannel.DataBarBrushColor

TiPlotChannel

Specifies the brush color used when drawing the specified Data Point Bar.

property DataBarBrushColor[const Index: Integer : TColor;

Description

Use BarBrushColor to get or set the brush color 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 Brush Color for each Data Point is automatically populated with the Overall Bar Brush Color property: BarBrushColor. You only need to set the DataBarBrushColor property when you want the Data Bar 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

iComponent.Channel[0].DataBarBrushColor[100] := clWhite;

C++ Builder

iComponent->Channel[0]->DataBarBrushColor[100] = clWhite;

Contents | Index | Previous | Next