TiPlotLimit.AddBandElement
TiPlotLimit
Used to add a band element to a PolyBand limit object.
procedure AddBandElement(Position, UpperLimit, LowerLimit: Double);
Description
Call the AddBandElement method to add a band element for use with Limit Lines
with their Style property set to iplsPolyBandX or iplsPolyBandY.
PolyBand limit lines have UpperLimit and LowerLimit limit values for each
specified X-Axis or Y-Axis position value. This allows the PolyBand limit to vary
over any axis value as needed.
For iplsPolyBandX style limit lines, the Position value refers to a specific
Y-Axis position, a UpperLimit on the X-Axis, and a LowerLimit on the X-Axis.
The band will be perpendicular to the X-Axis.
For iplsPolyBandY style limit lines, the Position value refers to a specific
X-Axis position, a UpperLimit on the Y-Axis, and a LowerLimit on the Y-Axis.
The band will be perpendicular to the Y-Axis.
Note: the UpperLimit must never be less than the LowerLimit, or an exception will
be generated.
Example
Delphi
//For a Limit of Style iplsPolyBandY, this adds a band element at a
X-Axis position of 2.56,
//Y-Axis Upper Limit of 35.3, and Y-Axis Lower Limit of 10.2.
iComponent.Limit[0].AddBandElement(2.56, 35.3, 10.2);
C++ Builder
//For a Limit of Style iplsPolyBandY, this adds a band element at a
X-Axis position of 2.56,
//Y-Axis Upper Limit of 35.3, and Y-Axis Lower Limit of 10.2.
iComponent->Limit[0]->AddBandElement(2.56, 35.3, 10.2);
Contents | Index | Previous | Next