LineType - property of the tvGrid object
Description:
Type of grid lines.
If the width
tvGrid.Width is greater than 1, then the line is always solid line (independently on setting this property).
Values:
0 - line solid
1 - line dash (-------)
2 - line dotted (.......)
3 - line comma-period-comma-period-... (-.-.-.-)
4 - line comma-period-period-comma-period-period-... (-..-..-)
Note:
Property access
for read and write.
The default value of this property is defined in the "
Line type" configurator of this object.
This property is also functional in
Web panels.
Example1:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var oGridTime = oTView.GridTime;
var oGridValue = oTView.GridValue;
oGridTime.LineType = 2;
oGridValue.LineType = 3;
oTView.Draw();
Dim oTView, oGridTime, oGridValue
Set oTView = pMe.Items("../TrendView")
Set oGridTime = oTView.GridTime
Set oGridValue = oTView.GridValue
oGridTime.LineType = 2
oGridValue.LineType = 3
oTView.Draw