Promotic

X - property of the tvTrendArea object

Description:
X-position of the graph area (in pixels) from the left edge of the viewer.
Syntax:
Variant X
Note:
Property access for read and write. The default value of this property is defined in the "Position X" configurator of this object.
 
This property is also functional in Web panels.
 
The property is used only if the graphic mode is set.

On setting it can be set the value in pixels or the value can be set in percentage of the whole viewer length. For example oTrendArea.X = "8%".
On reading from the property is always returned the value in pixels.
See also:
- tvTrendArea.Y (property)
- tvTrendArea.Dx (property)
- tvTrendArea.Dy (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrendArea = oTView.TrendArea;
var nX = oTrendArea.X;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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