Promotic

Dx - property of the tvTrendArea object

Description:
Width of the graph area (in pixels or in percentage).
Syntax:
Variant Dx
Note:
Property access for read and write. The default value of this property is defined in the "Width Dx" 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.Dx = "84%".
On reading from the property is always returned the value in pixels.
See also:
- tvTrendArea.X (property)
- tvTrendArea.Y (property)
- tvTrendArea.Dy (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

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

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