Promotic

LineType - property of the tvGraph object

Description:
Type of the line which is used for drawing the trend if the Type is selected - "Linear", "Const(x)" or "Stairs".
Syntax:
Long LineType
Values:
0 - solid (continuous line)
1 - dash (dashed line _ _ _)
2 - dot (dotted line . . .)
3 - dash-dot (dash-dotted line _ . _)
4 - dash-dot-dot (double dot-dashed line _ .. _)
5 - no line
Note:
Property access for read and write. The default value of this property is defined in the "tvTrend > Graphic mode > Line > Type" 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.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oGraphDef = oTView.Trends("t1").GraphDefault;
oGraphDef.LineType = 1;
oTView.Draw();

History:
Pm9.00.21: New types of the line: 4 (double dot-dashed line) and 5 (no line).
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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