"unitPosition"

Defines the position where the unit shall be displayed.

Synopsis

shape.unitPosition(dyn_int position);

Parameter

Parameter Description
position Position (x- and y-value) where the unit shall be displayed. Position 0/0 corresponds to the center of the EWO.

Description

Defines the position where the unit shall be displayed.

Example

In the following example the unit "km/h" is displayed on the position 0/12.

main()
{
  this.unit("km/h");
  this.unitPosition(makeDynInt(0,12));
}
Figure 1. Dial Gauge and the unit km/h at the Position 0, 12

Assignment

DialGauge EWO