TableFormatType - property of the tvGraph object

Type of setting format of values in the table mode.
For setting the format of values it is necessary to set the TableFormatType and TableFormat properties.
Long TableFormatType
1 - TableFormat specifies the number of decimal places.
10 (default) - TableFormat specifies the formatting rule of the C language.
25 - The value represents time and is displayed according to setting of time format. See PmgTrendViewer.TableTimeFormatType and PmgTrendViewer.TableTimeFormat.
Property access for read and write. The default value of this property is defined in the "tvTrend > Table mode > Format > Type" configurator of this object.
This property is also functional in Web panels.
The property is used only if the table mode is set.
When the object is created, the value of this property is copied from the PmgTrendViewer.GraphInit object.
See also:
Values are displayed with the precision of two decimal places at the most.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oGraph = oTView.Trends("t1").GraphDefault;
oGraph.TableFormatType = 1;
oGraph.TableFormat = 2;
The view format is a real number with the maximum places of 8 digits from which there are 2 decimal places.
JavaScriptVBScriptSelect and copy to clipboard

oGraph.TableFormatType = 10;
oGraph.TableFormat = "8.2f";

Pm8.03.14: New property value 25
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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