|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.tickunit.DoubleTickUnit
com.ijchart.xychart.tickunit.LogTickUnit
public class LogTickUnit
Title: IJChart
Description: a chart library for the Java(tm) platform.
Calculate the tick unit for number data and all values is logarithmic.Copyright: Copyright (c) 2013
Company:
| Field Summary | |
|---|---|
static double |
DEFAULT_LOGARITHM_BASE
The default logarithm base. |
| Constructor Summary | |
|---|---|
LogTickUnit()
A default constructor. |
|
LogTickUnit(boolean notUseFlag,
double step)
A constructor. |
|
LogTickUnit(double logarithmBase,
boolean notUseFlag)
A constructor. |
|
LogTickUnit(double logarithmBase,
double step)
A constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the object. |
boolean |
equals(java.lang.Object obj)
Tests the axis for equality with an arbitrary object. |
double |
getBaseLogValue()
Returns the log value for base logarithm. |
java.lang.String[] |
getExponentLabels()
Returns the exponent labels. |
double |
getLogarithmBase()
Returns the logarithm base. |
java.lang.String[] |
getTickUnits(double minValue,
double maxValue,
int maxCount,
boolean includeZero)
According to the minimum and maximum data and the largest number of coordinates to determine the scale of axis,all values are double. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class com.ijchart.xychart.tickunit.DoubleTickUnit |
|---|
getStep |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final double DEFAULT_LOGARITHM_BASE
| Constructor Detail |
|---|
public LogTickUnit()
public LogTickUnit(double logarithmBase,
boolean notUseFlag)
logarithmBase - double
The logarithm base,must be greater than 1.notUseFlag -
A boolean.
public LogTickUnit(boolean notUseFlag,
double step)
notUseFlag -
A boolean.step - double
The step.
public LogTickUnit(double logarithmBase,
double step)
logarithmBase - double
The logarithm base,must be greater than 1.step - double
The step.| Method Detail |
|---|
public double getLogarithmBase()
public double getBaseLogValue()
public java.lang.String[] getExponentLabels()
public java.lang.String[] getTickUnits(double minValue,
double maxValue,
int maxCount,
boolean includeZero)
getTickUnits in interface INumberTickUnitgetTickUnits in class DoubleTickUnitminValue - double
The minimum value.maxValue - double
The max value.maxCount - int
The maximum count of tick units (must great than 0).includeZero - boolean
A boolean flag indicates whether or not include zero value.
public boolean equals(java.lang.Object obj)
equals in class DoubleTickUnitobj - the object (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class DoubleTickUnitjava.lang.CloneNotSupportedException - if some component of the axis does
not support cloning.public int hashCode()
hashCode in class DoubleTickUnitpublic java.lang.String toString()
toString in class DoubleTickUnit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||