"curveMax"

Determines the upper scale limit for a curve.

Synopsis

setValue(string shape, "curveMax", string Name, float Value);

getValue(string shape, "curveMax", string Name, float &Value);

shape.curveMax(string Name, float Value);

Parameters

Parameter Description
shape Name of the object
Name Name of a curve
Value Upper scale limit

Description

This attribute is used to define the upper scale limit for a curve. The function "curveAutoscale" must be deactivated.

Example

main()
{
  shape tr=getShape("trend1");
  ...
  // Autoscaling must be deactivated
  tr.curveAutoscale("curve1")=FALSE;
  // Sets Min/Max values
  tr.curveMax("curve1", 50);
  tr.curveMin("curve1", 0);
  ...
}

Assignment

Trend