All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.JCAxisFormula

java.lang.Object
   |
   +----jclass.chart.JCAxisFormula

public class JCAxisFormula
extends Object
implements JCSerializable
JCAxisFormula specifies a relationship between the current JCAxis and another axis. The relationship is defined in terms of the formula y = mx + c, where x is the originating axis, m and c are constants, and y is the current axis.

Properties

Name Method
Constant The Constant property specifies the "c" value in the axis relationship y2 = my + c.
Multiplier The Multiplier property specifies the "m" value in the relationship y2 = my + c.


Method Index

 o getConstant()
Gets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.
 o getMultiplier()
Gets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.
 o getOriginator()
Gets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c.
 o setConstant(double)
Sets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.
 o setMultiplier(double)
Sets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.
 o setOriginator(JCAxis)
Sets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c.

Methods

 o setConstant
  public synchronized void setConstant(double val)
Sets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.

Parameters:
val - Double value representing "c" in y = mx + c
 o getConstant
  public double getConstant()
Gets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.

Returns:
double value representing "c" in y = mx + c
 o setMultiplier
  public synchronized void setMultiplier(double val)
Sets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.

Parameters:
val - double value representing "m" in y = mx + c
 o getMultiplier
  public double getMultiplier()
Gets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.

Returns:
double value representing "m" in y = mx + c
 o getOriginator
  public JCAxis getOriginator()
Gets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c. The originator is "x".

Returns:
JCAxis instance representing the originating axis
 o setOriginator
  public synchronized void setOriginator(JCAxis org)
Sets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c. The originator is "x".

Returns:
JCAxis instance representing the originating axis

All Packages  Class Hierarchy  This Package  Previous  Next  Index