Utilizing Sweep Angle Run-Time Properties
- Last UpdatedJul 13, 2023
- 1 minute read
The 2 and 3 point arc, pie, and chord graphic elements contain StartAngle and SweepAngle Appearance properties. These properties can be assigned values in a client script that change during run time to show moving sweep angle or start angle lines as part of arc, pie, and chord graphic elements.
Sweep angle run-time properties are well suited for showing a current value within a range of possible values. For example, the movement of a chord sweep angle can show a pie chart with fill that indicates the current time within a repetitive period. Or, the movement of an arc sweep angle can represent a pointer to the current value within a range of possible values like a tachometer.
To configure sweep angle run-time properties
-
Place an arc, pie, or chord graphic object on the Industrial Graphic Editor canvas.
-
Select the graphic element to show its Properties equipment.items.
-
Assign StartAngle and SweepAngle properties as values of a client script that change based on run-time events.