TiPlotChannel.DataBarReference

TiPlotChannel

Specifies reference on the Y-Axis for the specified Data Point Bar.

property DataBarReference[const Index: Integer : Double;

Description

Use DataBarReference to specify the reference on the Y-Axis from which the specified Data Point Bar will be drawn. This value is specified in units on the Y-Axis. For example, if you specify a reference of 10, then the bar would be drawn vertically from this point on the Y-Axis to the Y-Coordinate of the data point..

PlotBarRef0.gif

Reference Set to Zero (0)

PlotBarRef10.gif

Reference 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 Reference for each Data Point is automatically populated with the Overall Bar Reference property: BarReference. You only need to set the DataBarBarReference property when you want the Data Bar Reference 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].DataBarReference[100] := 10.25;

C++ Builder

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

Contents | Index | Previous | Next