Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ValuesVisible - property of object tvGraph

Description:
Visibility of trend data points value.
Syntax:
ValuesVisible As Boolean
Calling:
oGraph.ValuesVisible = b
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 TrendsView.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 TrendsView.TimeMax and TrendsView.TimeMin properties) must be less than the value of the TrendsView.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 TrendsView.TimeZoomMaxForValues property, i.e. 1min30sec.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Acx;
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;
PROMOTIC 9.0.0 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