Promotic

CountValue - property of the tvTicks object

Description:
The number of main ticks-legends of the scale.
Syntax:
Variant CountValue
Note:
Property access for read and write.
 
This property is also functional in Web panels.
 
The property is not used, if the value in the CountType property is "auto".
If the value is greater than 0, then the number of ticks is set here according to the CountType.
See also:
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oTicks;
var oTView = pMe.Items("../TrendView");

oTicks = oTView.ScaleTime.Ticks;
oTicks.CountType = "count";
oTicks.CountValue = 4;

oTicks = oTView.ScaleValue.Ticks;
oTicks.CountType = "distancevalue";
oTicks.CountValue = 200;
Example2:
See examples in the description of the tvTicks object.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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