TiPlotChannel.DataBarWidth

TiPlotChannel

Specifies the bar width for the specified Data Point Bar.

property DataBarWidth[const Index: Integer : Double;

Description

Use DataBarWidth to specify the width of the specified Data Point Bar. This value is specified in units on the X-Axis. For example, if you specify a width of 10, then the bar width would be the distance between the 0 and 10 major tick marks on the X-Axis scale.

PlotBarRef0.gif

Bar Width Set to 10

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 Width for each Data Point is automatically populated with the Overall Bar Width property: BarWidth. You only need to set the DataBarWidth property when you want the Data Bar Width 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 width of the bar for 101st data point

iComponent.Channel[0].DataBarWidth[100] := 10.25;

C++ Builder

//Sets width of the bar for 101st data point

iComponent->Channel[0]->DataBarWidth[100] = 10.25;

Contents | Index | Previous | Next