TiStripChart.SetChannelWarningLimits

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 SetChannelWarningLimits(Channel : Integer; ShowUpper : Boolean; UpperValue : Double; UpperLineStyle : TiChannelLineStyle; ShowLower : Boolean; LowerValue : Double; LowerLineStyle : TiChannelLineStyle);

Description

Use SetChannelWarningLimits to set the properties for the Upper and Lower warning limit 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 ChannelWarningLimitUpperColor or ChannelWarningLimitLowerColor property.

Each property of the limit lines can be set individually using the various ChannelWarningLimitxxx properties.

Example

Delphi

iComponent.SetChannelWarningLimits(0, True, 90, iclsDot, True, 70, iclsDot); //Sets the First Channel

C++ Builder

iComponent->SetChannelWarningLimits(0, True, 90, iclsDot, True, 70, iclsDot); //Sets the First Channel

Note
: The Channel value is 0 based.

Contents | Index | Previous | Next