Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ValuesVisible - property of the tvGraph object

Description:
Visibility of trend data points value.
Syntax:
Boolean ValuesVisible
Note:
Property access for read and write. The preset value of this property is defined in the "Graphic mode > Visible values" configurator of this object.

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

 
The values 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.
Example:
Setting the visibility of the point values to the particular tvGraph objects. Values of the points are displayed only if the current length of the time axis is less than the value of the PmgTrendViewer.TimeZoomMaxForValues property, i.e. 1min30sec.
JavaScriptVBScriptSelect and copy to clipboard

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

oTView.TimeZoomMaxForValues = "1min30sec";
oTrend.GraphDefault.ValuesVisible = true;
if (oGraph)
{
oGraph.ValuesVisible = true;
oTView.Draw();
}
PROMOTIC 9.0.13 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