Update cookies preferences

Preconfiguration "Bar (PmgCanvas) vertical - scale left"

Creates object configured as bar displaying value of variable.

This preconfiguration can be activated when creating a new Pmg object and is included in the group: "/ Bar (PmgBar)".

The created compound object contains two PmgCanvas subobjects. The outer Pmg object renders the scale and uses variables textSize, max, min, space and posAxis. The textSize variable sets the font size of description text. The min variable and max reprezent scale range. The space variable defines distance of scale edge (and bar) from Pmg object edges. The posAxis variable defines the margin of the scale from the bar.
Additional parameters of the scale rendering can be modified at the beginning of the "DrawScale" method script.

The inner Bar object uses the variable val. This variable controls the movement of the bar and can be connected with the measured value by data binding.
This Pmg object can use single-color bar or bar with gradient. Colors are defined at the beginning of the "DrawBar" method script.
These configurators can be set before the preconfiguration is created:
The name of created objectName (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
Measured valueConnection to measured value
Range from minimumStart of the range
Range to maximumEnd of the range
Color gradientColor gradient from minimum to maximum
Bar colorBar color
Starting bar colorStarting bar color
Ending bar colorEnding bar color

Pm8.03.07: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.