Promotic
WikipediaLinkedInYoutubeTwitterFacebook

LineType - property of the tvGraph object

Description:
Type of the line which is used for drawing the trend if the Type type is selected - "Linear", "Const(x)" or "Stairs".
Syntax:
Long LineType
Calling:
oGraph.LineType = n
Values:
0 - solid (line continuous)
1 - dash (line discrete by dashes _ _ _)
2 - dotted (line discrete by dots . . .)
3 - dash-dotted (line dotted combined _ . _)
Note:
Property access for read and write. The preset value of this property is defined in the "Graphic mode > Line > Type" configurator of this object.

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();
PROMOTIC 9.0.12 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice