Promotic
WikipediaLinkedInYoutubeTwitterFacebook

TableFormatType - property of object tvGraph

Description:
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.

Syntax:
Long TableFormatType
Calling:
oGraph.TableFormatType = nType
Values:
1 - TableFormat specifies the number of decimal places.
10 (default) - TableFormat specifies the format formula in the C language.
25 - The value represents time and is displayed according to the set time format. See PmgTrendViewer.TableTimeFormatType and PmgTrendViewer.TableTimeFormat.
Note:
Property access for read and write. The preset value of this property is defined in the "Table mode > Format > Type" configurator of this object.

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.

Example1:
Values are displayed with the precision of two decimal places at the most.
JavaScriptVBScriptSelect and copy to clipboard

oGraph.TableFormatType = 1;
oGraph.TableFormat = 2;
Example2:
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";

History:
Pm8.03.14: Added new property value 25
PROMOTIC 9.0.8 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