Width - property of the tvGraph object
Description:
Line (column, ...) width of the graph (in pixels) depending on setting the
Type property.
Note:
Property access
for read and write. The preset value of this property is defined in the "
Graphic mode > Line > Width" configurator of this object.
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
oGraphDef.Width = 2; //writing
oTView.Draw();
Dim oTView, oGraphDef, nWidth
Set oTView = pMe.Items("../TrendView")
Set oGraphDef = oTView.Trends("t1").GraphDefault
nWidth = oGraphDef.Width 'reading
oGraphDef.Width = 2 'writing
oTView.Draw