TableAlign - property of the tvGraph object
Description:
Align type of column values in the table mode. It aligns the column that refers to the
tvTrend object to which the
tvGraph object belongs.
Values:
0 - left
1 - Center
2 (default) - Right
Note:
Property access
for read and write.
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.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var oGraphDef = oTView.Trends("t1").GraphDefault;
var nTableAlign = oGraphDef.TableAlign;
// Reading from the property
oGraphDef.TableAlign = 1;
// Writing into the property
Dim oTView, oGraphDef, nTableAlign
Set oTView = pMe.Items("../TrendView")
Set oGraphDef = oTView.Trends("t1").GraphDefault
nTableAlign = oGraphDef.TableAlign
' Reading from the property
oGraphDef.TableAlign = 1
' Writing into the property