Major Tick Units (MajorTickUnits)

Number of annotated units displayed on the meter or slider widget. The default value is 4.

MajorTickUnits=Number

Usage

Dynamic?

Yes

Supported in Grid?

No

Dependencies:

None

Description

For example, in the Meter widget, the default range is set from 0-100. When Major Tick Units is set to 4, there are 5 annotated ticks, including the one for 0: 0, 25, 50, 75 and 100.

Meter Widget with Default Values

Meter Widget with default properties

Setting in ProcScript

The range for a Meter widget (FLD1) is defined as 0-80. The following example sets the minor ticks to 2:

$fieldproperties(FLD1) = "MinorTickUnits=2"
Meter Widget

Meter widget with Major Tick Units = 10 and Minor Tick Units = 4

Related Topics