| java.lang.Object org.krysalis.jcharts.axisChart.axis.scale.ScaleCalculator org.krysalis.jcharts.axisChart.axis.scale.UserDefinedScaleCalculator
UserDefinedScaleCalculator | public class UserDefinedScaleCalculator extends ScaleCalculator (Code) | | author: Nathaniel Auvil, Mike Lissick version: $Id: UserDefinedScaleCalculator.java,v 1.1 2003/05/17 16:54:37 nathaniel_auvil Exp $ |
Constructor Summary | |
public | UserDefinedScaleCalculator(double userDefinedMinimum, double userDefinedIncrement) It would seem to make sense to pass in the min and the max, but we want to allow
people to use custom implementations which will be created when the AxisChart
constructor gets called and we will not have looped the data to find the min
and max yet. |
Method Summary | |
protected void | computeIncrement() Computes the axis increment WITHOUT taking into account the user specified rounding
criteria and sets it to the super class increment variable. |
UserDefinedScaleCalculator | public UserDefinedScaleCalculator(double userDefinedMinimum, double userDefinedIncrement)(Code) | | It would seem to make sense to pass in the min and the max, but we want to allow
people to use custom implementations which will be created when the AxisChart
constructor gets called and we will not have looped the data to find the min
and max yet. No sense in making people do that when we will do that already.
Parameters: userDefinedMinimum - Parameters: userDefinedIncrement - |
computeIncrement | protected void computeIncrement()(Code) | | Computes the axis increment WITHOUT taking into account the user specified rounding
criteria and sets it to the super class increment variable. You can extend this class
and override this method to compute you own scale.
|
Fields inherited from org.krysalis.jcharts.axisChart.axis.scale.ScaleCalculator | protected double increment(Code)(Java Doc)
|
|
|