LabelBorderFormatType - property of the tvScale object

Format type of scale edge legends (e.g. at the time axis it is the value at the left edge and the value at the right edge).
Long LabelBorderFormatType
0 - LabelBorderFormat or tvTrend.LabelBorderFormat = number. Specifies the number of valid digits from the difference tvTrend.ValueMax and tvTrend.ValueMin Automatic mode, legend is displayed so that is it shown with the sufficient precision according to the scale range (ValueMax - ValueMin).
1 - LabelBorderFormat or tvTrend.LabelBorderFormat = number. Specifies the number of decimal places.
Default for value scale.
10 - LabelBorderFormat or tvTrend.LabelBorderFormat = string. Specifies the formatting rule.
Default for time scale.
Property access for read and write. The default value of this property is defined in the "Type of format:" configurator of this object.
This property is also functional in Web panels.
The values 0 and 1 can be used only:
- for value scale or
- for time scale, if set PmgTrendViewer.TimeType = 1 (i.e. the time scale is numeric).
See also:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oScaleTime = oTView.ScaleTime;
var oScaleValue = oTView.ScaleValue;

oScaleTime.LabelBorderFormatType = 10;
oScaleValue.LabelBorderFormatType = 1;
See the example in the description of the LabelBorderFormat property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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