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.
|
-
getConstant()
- Gets the Constant property of the JCAxisFormula, which specified
the "c" value in the relationship y = mx + c.
-
getMultiplier()
- Gets the Multiplier property of the JCAxisFormula, which specifies
the "m" value in the relationship y = mx + c.
-
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.
-
setConstant(double)
- Sets the Constant property of the JCAxisFormula, which specified
the "c" value in the relationship y = mx + c.
-
setMultiplier(double)
- Sets the Multiplier property of the JCAxisFormula, which specifies
the "m" value in the relationship y = mx + c.
-
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.
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
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
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
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
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
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