Creates the PmgCanvas
object configured as meter.
This preconfiguration can be activated when creating a new Pmg object
and is included in the group: "/ Meter"
This object contains embedded PmgCanvas
object named "Dynamic
". It controls the movement of the device pointer by using the variable
". It is possible to connect it to the measured value by data binding
In the parent PmgCanvas
object there are variables min
defining the value range of the device. Then the variables title
for title and unit and fontColor
that sets the color of the font. The last variable is technolLimit
that can be used for setting the color of the rendered data progression based on defined limit. The number of limits is not limited and can be set ascending (from min. to max.) as a pair of values separated by semicolon that define the starting value of validituy
and corresponding color value
for rendering. Example 0;red;40;yellow;80;green;120;yellow;150;red
These configurators can be set before the preconfiguration is created:
|Object name||Name (identifier) of the Pmg object. It is used to obtain 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, empty string, spaces and the first character must not be a number.
|Measured value||Connection to measured value|
|Range from minimum||Start of the device range|
|Range to maximum||End of device range|
|Technological limits indicated by colors||Example: 0;red;40;yellow;80;green;120;yellow;150;red (0-40 red, 40-80 yellow, 80-120 green, 150-max red)
or: 0;#00ff00;60;#ffff00;80;#ff0000 (0-60 green, 60-80 yellow, 80-max red).