"curveMinMax"
Determines the minimum and maximum scale value for a curve.
Synopsis
setValue(string shape, "curveMinMax", string Name, float minValue, float
maxValue);
shape.curveMinMax(string Name, float minValue, float maxValue);
Parameters
| Parameter | Description |
|---|---|
| shape | Name of the object |
| Name | Name of a curve |
| minValue | Minimum scale value |
| maxValue | Maximum scale value |
Description
This attribute is used to determine the minimum and maximum scale values for a curve. function "curveAutoscale" must be deactivated.
Example
main()
{
shape tr=getShape("trend1");
...
// Autoscaling must be deactivated
tr.curveAutoscale("curve1")=FALSE;
// Sets Min/Max values
tr.curveMinMax("curve1", 0, 50);
...
}
Assignment
Trend
