Promotic

TableTimeColumnWidth - property of the PmgTrendViewer object

Description:
Width of time column in the table mode (in pixels).
Syntax:
Long TableTimeColumnWidth
Note:
Property access for read and write. The default value of this property is defined in the "Table time column width" configurator of this object.
 
This property is also functional in Web panels.
 
The property is used only if the table mode is set.
Example:
This complex example sets the properties used for displaying the time column and the table head in the table mode. For further settings the properties for displaying columns of individual variables see examples in the descriptions of the tvTrend and tvGraphobjects.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
oTView.TableTimeColumnWidth = 100;
oTView.TableTimeBgColor = "#808080";   // color setting by RGB String in the form "#RRGGBB"
oTView.TableTimeTextColor = "#800040";
oTView.TableTimeFormat = "%d.%m, %H:%M";
oTView.TableTimeFont.Size = 11;
oTView.TableTimeFont.Bold = true;
oTView.TableHeadBgColor = "#808080";
oTView.TableHeadTextColor = "#7800ff";
oTView.TableHeadFont.Bold = true;
oTView.TableHeadFont.Italic = true;
oTView.TableHeadRowHigh = 30;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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