Promotic

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
Note:
Property access for read and write. The default value of this property is defined in the "tvTrend > Graphic mode > Points > Visibility" 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.

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 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 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.27 SCADA system documentation MICROSYS, spol. s r.o.

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