Preconfiguration "Analog clock"
Creates the graphic item PmiCanvas
configured as analog clock.
This preconfiguration can be activated when creating a new graphic item
and is included in the group: " / Bar, Slider, Meter / Meter"
This graphic item contains embedded PmiCanvas
item named Dynamic
. This object controls the movement of the clock hands by using the variable
. The value of this variable is defined in the onRefresh
event by the Pm.Time
Additional configuration variables are located at the beginning of context
itself, or at the beginning of the user method. The following items can be set:
- majTicks number of main segments
- minTicks number of secondary segments (between the main segments)
- bgColor1 and bgColor2 clock backgroud color