"curveAutoscaleX"
Activates or deactivates X autoscaling on a curve if the trend type is value over value.
Synopsis
setValue(string shape, "curveAutoscaleX", string curvename, bool
scale);
getValue(string shape, "curveAutoscaleX", string curvename, bool
&scale);
shape.curveAutoscaleX(string curvename, bool scale);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
curvename | Name of the trend display curve |
scale | Autoscale or no autoscale (TRUE/FALSE) |
Description
This function activates or deactivates trend display autoscaling during runtime. Use "curveAutoscaleX" to activate X-axis autoscaling. Using the trend type value over value, the default is scale==TRUE.
Example
The following example deactivates autoscaling of the X-axis and Y-axis, using the trend type value over value.
main()
{
shape tr=getShape("trend1");
...
tr.curveAutoscaleX("curve1")=FALSE;
tr.curveAutoscale("curve1")=FALSE;
...
}
Assignment
Trend