TiPlotChannel.DataBarPenColor

TiPlotChannel

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

property DataBarPenColor[const Index: Integer : TColor;

Description

Use BarPenColor to get or set the pen 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 Pen Color for each Data Point is automatically populated with the Overall Bar Pen Color property: BarPenColor. You only need to set the DataBarPenColor property when you want the Data Bar 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

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

C++ Builder

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

Contents | Index | Previous | Next