TiStripChart.SetChannelControlLimits
TiStripChart See Also
Sets the properties for the Upper and Lower Control Limits display lines for a
specific channel.
type TiChannelLineStyle = (iclsSolid, iclsDash, iclsDot, iclsDashDot,
iclsDashDotDot);
procedure SetChannelControlLimits(Channel : Integer; ShowUpper : Boolean; UpperValue : Double; UpperLineStyle : TiChannelLineStyle; ShowLower : Boolean; LowerValue : Double; LowerLineStyle : TiChannelLineStyle);
Description
Use SetChannelControlLimits to set the properties for the Upper and Lower
Control Limits display lines for a specific channel. By default, both limit lines
are not shown. When shown, the limit line is drawn horizontally at the Y value
specified by the corresponding value property (UpperValue or LowerValue).
The color of the limit lines is the same as the color for the channel data
until explicitly set using the ChannelControlLimitUpperColor or
ChannelControlLimitLowerColor property.
Each property of the limit lines can be set individually using the various
ChannelControlLimitxxx properties.
Example
Delphi
iComponent.SetChannelControlLimits(0, True, 90, iclsDot, True, 70, iclsDot); //Sets First Channel
C++ Builder
iComponent->SetChannelControlLimits(0, True, 90, iclsDot, True, 70, iclsDot); //Sets First Channel
Note: The Channel value is 0 based.
Contents | Index | Previous | Next