Promotic

LabelFormat - property of the tvTrend object

Description:
Format of scale legends.
Syntax:
Variant LabelFormat
Note:
Property access for read and write.
 
This property is also functional in Web panels.
 
Setting this property is the same as the setting of the tvScale.LabelFormat property and meaning depends on the value of the tvScale.LabelFormatType property.
Moreover it is possible to enter here the value trend.LabelFormat="$dbind", it means that this property doesn't keep its value of the format but it reads it from the tvScale.LabelFormat property.
The default value is "$dbind".
See also:
- tvTicks (object)
Example1:
JavaScriptVBScriptSelect and copy to clipboard

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

oScaleValue.LabelFormatType = 1;
oTView.Trends(0).LabelFormat = 0;
oTView.Trends(1).LabelFormat = 2;
oScaleTime.LabelFormatType = 10;
oScaleTime.LabelFormat = "%d.%m.%Y\\n%H:%M:%S";
Example2:
See the example in the description of the LabelFormatType property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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