LabelFormatType - property of object tvScale

Format type of the legends at the scale main ticks (see what is the main tick of the tvTicks object). For setting the format of the legends it is necessary to set the LabelFormatType and LabelFormat property. Initial value at the value scale is 1 (entered by the number of decimal places), at the time scale it is 10 (entered by the string format).
LabelFormatType As Long
oScale.LabelFormatType = nType
0 - LabelFormat or tvTrend.LabelFormat means the number of valid numbers from the difference tvTrend.ValueMax and tvTrend.ValueMin Automatic mode, legend is displayed so that is it shown with the sufficient precise according to the scale range (ValueMax - ValueMin).
1 - LabelFormat or tvTrend.LabelFormat sets the number of decimal places.
10 - LabelFormat or tvTrend.LabelFormat sets the format formula.
Property access for read and write. The preset value of this property is defined in the "Label format type" configurator of this object.
Legends of the value scale are numeric values to 2 decimal places. Legends of the time scale are a time with the format: day.month.year NewLine hour:minute:second.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Acx;
var oScaleTime = oTView.ScaleTime;
var oScaleValue = oTView.ScaleValue;

oScaleTime.LabelFormatType = 10;
oScaleTime.LabelFormat = "%d.%m.%Y\n%H:%M:%S";

oScaleValue.LabelFormatType = 1;
oScaleValue.LabelFormat = 2;
PROMOTIC 8.3.23 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice