Preconfigurations Bar (PmiCanvas) Horizontal - scale below
Creates graphic item configured as bar displaying value of variable.
The created complex item contains two PmiCanvas
subitems. The outer item renders the scale and uses variables textSize
. Variable textSize
defines the font size of description text. Variables min
reprezent scale range. Variable space
defines margin of scale edge (and bar) from graphic item edges. Variable posAxis
defines the margin of scale from the bar.
Additional parameters of scale rendering can be modified at the beginning of DrawScale method script.
The inner item Bar
uses the variable val
. This variable controls the movement of the bar and can be connected with the measured value by the binding
This graphic item can use single-color bar or bar with gradient. Color(s) are defined at the beginning of DrawBar method script.
These configurators can be set before the preconfiguration is created:
|Measured value||Connection to measured value|
|Range from minimum||Start of range|
|Range to maximum||End of range|
|Color gradient||Color gradient from minimum to maximum|
|Bar color||Bar color|
|Starting bar color||Starting bar color|
|Ending bar color||Ending bar color|