Promotic
WikipediaLinkedInYoutubeTwitterFacebook

PointsVisible - property of the tvGraph object

Description:
Visibility of trend data points mark.

Marks are drawn if the property is set to true. At the same time the current length of the time axis (the difference between PmgTrendViewer.TimeMax and PmgTrendViewer.TimeMin properties) must be less than the value of the PmgTrendViewer.TimeZoomMaxForPoints property.

Syntax:
Boolean PointsVisible
Calling:
oGraph.PointsVisible = b
Note:
Property access for read and write. The preset value of this property is defined in the "Graphic mode > Points > Visibility" configurator of this object.

When the object is created, the value of this property is copied from the PmgTrendViewer.GraphInit object.

 
The property can be also set by the tvTrend.PointsVisible property (this property sets the value into all tvGraph objects).
See also:
- tvGraph.PointsType (property)
- tvGraph.PointsColor (property)
Example1:
Sets the visibility of the points to the particular tvGraph objects
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends("t1");
var oGraph = oTrend.AddGraph(1, 0, "LimitVal(gt;100)");

oTrend.GraphDefault.PointsVisible = true;
if (oGraph)
oGraph.PointsVisible = true;
Example2:
Sets the visibility of the points to all tvGraph objects
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends("t1");
var oGraph = oTrend.AddGraph(1, 0, "LimitVal(gt;100)");

oTrend.PointsVisible = true;
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