"curveMaxX"

Determines the highest scale value of X for the curve "Name" for value over value display.

Synopsis

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

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

shape.curveMaxX(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 determine the highest scale value of X for a curve with over value display. The functions "curveAutoscale" and "curveAutoscaleX" must be deactivated.

Example

main()
{
  shape tr=getShape("trend1");
  ...
  // Autoscaling must be deactivated
  tr.curveAutoscale("curve1")=FALSE;
  tr.curveAutoscaleX("curve1")=FALSE;
  // Sets Min/Max values of the X-axis
  tr.curveMaxX("curve1", 50);
  tr.curveMinX("curve1", 0);
  // Sets Min/Max values of the Y-axis
  tr.curveMax("curve1", 80);
  tr.curveMin("curve1", 0);
  ...
}

Assignment

Trend