TiPlotAnnotationObject.Reference

TiPlotAnnotationObject See Also

Specifies the reference used for calculating all position coordinates for the annotation object.

type TiPlotReferenceType = (iprtDataView, iprtChannel);

property Reference : TiPlotReferenceType;

Description

Use Reference to get or set the reference used for calculating all position coordinates for the annotation object.

When Reference is set to iprtDataView, all coordinates should be in the range from 0 to 100. A value of 0 would correspond to the left or bottom of the data view depending on what type of position coordinate. A value of 100 would correspond to the right or top of the data view depending on what type of position coordinate.

When Reference is set to iprtChannel, all coordinates are based on the X-Axis or Y-Axis position depending on what type of position coordinate.

Below are listed the position coordinate properties that are affected by the Reference property.

Height

Width

X

X2

Y

Y2

These are the possible values:

Value
Meaning
iprtDataView
All position coordinates are referenced to the Data View.
iprtChannel
All position coordinates are referenced to the Channel' X and Y-Axes.
iprtXChannelYDataView
X position coordinates are referenced to the Channel's X-Axis and Y position coordinates are referenced to the Data View.
iprtXDataViewYChannel
X position coordinates are referenced to the Data View and Y position coordinates are referenced to the Channel's Y-axis.

Example

Delphi

iComponent.Annotation[0].Reference := iprtChannel;

C++ Builder

iComponent->Annotation[0]->Reference = iprtChannel;

Contents | Index | Previous | Next