ComponentOne Chart for .NET (2.0) Search HelpCentral 

Adding Alarm Zones

AlarmZones can be added at design time through the AlarmZonesCollection Editro in the Visual Studio Properties window or programmatically through the AlarmZones object.

To programmatically add an AlarmZone member to the AlarmZonesCollection:

·      Visual Basic

C1Chart1.ChartArea.PlotArea.AlarmZones.AddNewZone()

·      C#

C1Chart1.ChartArea.PlotArea.AlarmZones.AddNewZone();

·      Delphi

C1Chart1.ChartArea.PlotArea.AlarmZones.AddNewZone();

To access the collection editor at design time:

1.   Right-click on the C1Chart2D control and select Properties from its context menu.

2.   In the Properties Window, expand the ChartArea node in the Properties window, then expand the PlotArea node, and click the ellipsis next to the AlarmZones property.

For more information on the AlarmZone Collection Editor, see AlarmZone Collection Editor.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.