Promotic

Width - property of the tvGraph object

Description:
Line (column, ...) width of the graph (in pixels) depending on setting the Type property.
Syntax:
Long Width
Note:
Property access for read and write. The default value of this property is defined in the "tvTrend > Graphic mode > Line > Width" configurator of this object.
 
This property is also functional in Web panels.
 
When the object is created, the value of this property is copied from the PmgTrendViewer.GraphInit object.
 
Width must be greater or equal 1.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oGraphDef = oTView.Trends("t1").GraphDefault;
var nWidth = oGraphDef.Width;   // Reading from the property
oGraphDef.Width = 2;   // Writing into the property
oTView.Draw();
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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