Components from the "meters" group of the palette are intended for displaying analog values in a graphical form
In the form designer, you can immediately set the "gauge".Value
property and see the result. In order for the component to display not a static value, but a changing value coming from the data source, each of these components has [dynamic properties] (formdesignerdynamicprops), where you can set the "Value" property dynamically when some tag value changes.
The main properties of the components are in the "gauge" group:
Value
- sets the value that will be displayed in the componentMin
- minimum value for component gaugeMax
- maximum value for component gaugeAnimation duration
- animation duration when arrow moves / filling the up scale to a new value (in ms)The "pointer" settings group combines the properties for setting up the display of the "pointer" of the device:
Radius
- arrow radius (total length)Back color
- arrow background colorBorder color
- arrow border colorBorder width
- arrow border widthBase width
- thickness of the main part of the arrowTop width
- pointer narrowing thicknessBase length
- the length of the main part of the arrowRear length
- the length of the rear part of the arrow (beyond the axis of rotation, in percent)Pivot back color
- arrow rotation axis colorPivot radius
- radius of arrow rotation axisRounded
- if "true", the arc will be filled with rounded edgesInner radius
- inner radius of gaugeOuter radius
- outer radius of gaugeStart angle
- start angle of the scale (in degrees)End angle
- end angle of the scale (in degrees)The properties in the "background" group allows to set the background display options:
Type
- "gradient" - standard gradient or "color"Color
- background color, if "color" type is selectedShape
- background shape, - either "circle" or "arc"Outer radius
- outer radius of the background (in percent)Inner radius
- inner radius of the background (in percent)Border color
- background border colorBorder width
- thickness of the background borderGroup of properties "fill colors" - allows you to set the gradient filling of the current value for ArcMeter and BarMeter depending on the value:
Fill colors num
- parameter sets the number of "fill colors"."color" settings groups. Up to 8 groups can be specified. The following properties can be set for each group:Color
- sets the color for the positionPosition
- a fractional number from 0 to 1 that defines the value on the scale, between its minimum and maximum values - if the value displayed by the component approaches it, then the filling of the area with the value will approach to the specified color.Direction
- orientation either "horizontal" or "vertical"Border radius
- border radiusBorder color
- border colorBorder width
- border widthGroup of properties "bands" - combines settings for coloring sections of the background of the scale:
Plot bands num
- parameter sets the number of groups of 'band' settings. Up to 8 groups can be specified.Parameters of each group:
Border color
- band border colorBorder width
- thickness of the band borderColor
- band background colorFrom
- value of the beginning of the scale rangeTo
- end value of the scale rangeFor ArcMeter and AnalogueMeter, a few more properties are available in this group:
Outer radius
- outer radius of the areaThickness
- area thickness"title" property group - title properties above the device
Title
- title textHorizontal align
- horizontal alignment of title text: left, center, rightVertical align
- vertical alignment of the title text: top, middle, bottomThe "ticks" property group defines display parameters for ticks. Tick can be major and minor.
Color
- color for drawing ticksInterval mode
- Sets the interval mode for drawing tick marks, either "auto" or "manual"Interval
- If the manual interval mode for drawing ticks is selected, then this parameter sets the interval of ticksWidth
- ticks widthLength
- length of ticksLine width
- thickness of the line along which ticks are drawnLine color
- color of the line along which ticks are drawnthe same parameters in this group, with the prefix "Minor" in the properties name - refer to the rendering of minor ticks.
The "tick labels" property group sets the display options for the labels of the values of the main tick marks on the scale:
Enabled
- allows "true" or disables "false" display of axis tick valuesAlign
- aligns labels to the "left", "right" or "center"Position
- position of labels - "inside", or "outside" the scaleExtra distance
- sets the label offset away from the edge of the scale by the specified value (pixels)Format
- allows you to set the formatting for displaying the values of the main ticks of the axis. The default is empty, you can specify for example {value:.1f} - for a fixed output with 1 decimal placeRotation
- "auto" - labels will be rotated automatically or "manual"Rotation angle
- allows you to rotate the labels by the specified angle if the manual rotation mode is selected (in degrees).The group of properties "data labels" sets the parameters for displaying the label with the current value in digital form:
Enabled
- allows "true" or disables "false" display of the current valueAlign
- left, center or right - horizontal alignmentVertical align
- vertical alignmentBackground color
- background color of the label with the current valueBorder color
- label frame color with textBorder radius
- number-percentage of roundness of the frame with the labelColor
- text font color with valuesFormat
- output format. e.g. {y:.2f} - displays 2 decimal placesX
- extra horizontal label offset (in pixels)Y
- extra vertical label offset (in pixels)