public class ChartNumberAxis extends AbstractAxis implements ValueAxis
Modifier and Type | Class and Description |
---|---|
static class |
ChartNumberAxis.RegisterPersistence |
associatedAxis, axis, isTitleVisible, title, visible
Constructor and Description |
---|
ChartNumberAxis() |
ChartNumberAxis(Axis axis) |
Modifier and Type | Method and Description |
---|---|
ChartAxis |
clone() |
double |
getMax()
Gets the max value of the axis
|
double |
getMin()
Gets the min value of the axis
|
NumberFormat |
getNumberFormatOverride()
Gets the number format used
|
String |
getRangeType()
Gets the axis range type.
|
protected ValueAxis |
getValueAxis() |
boolean |
isCategoryAxis() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
merge(ChartAxis ax) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setAutoRange(boolean b)
Indicates if the chart range will be created by default
|
void |
setNumberFormatOverride(NumberFormat formatter)
Sets the number format override.
|
void |
setRange(double a,
double b)
Sets the range of the axis
|
void |
setRangeType(String rangeType)
Sets the axis range type.
|
draw, getAxis, getChartAxisTitle, getChartService, getLabelAngle, getLabelFont, getLabelPaint, getSharedAxis, getTitleFont, isAssociatedAxis, isAxisShared, isAxisTitleEdited, isChartAxisTitleVisible, isVisible, setAssociatedAxis, setAxis, setCategoryLabelPositions, setChartAxisTitle, setChartService, setIsAxisTitleEdited, setIsChartAxisTitleVisible, setIsSharedAxis, setLabelAngle, setLabelFont, setLabelPaint, setSharedAxis, setTitleFont, setVisible
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, getChartAxisTitle, getChartService, getLabelAngle, getLabelFont, getLabelPaint, getSharedAxis, getTitleFont, isAssociatedAxis, isAxisShared, isAxisTitleEdited, isChartAxisTitleVisible, isVisible, setCategoryLabelPositions, setChartAxisTitle, setChartService, setIsAxisTitleEdited, setIsChartAxisTitleVisible, setIsSharedAxis, setLabelAngle, setLabelFont, setLabelPaint, setSharedAxis, setTitleFont, setVisible
public ChartNumberAxis()
public ChartNumberAxis(Axis axis)
public void merge(ChartAxis ax)
merge
in class AbstractAxis
public void setRange(double a, double b)
ValueAxis
protected ValueAxis getValueAxis()
public void setAutoRange(boolean b)
ValueAxis
setAutoRange
in interface ValueAxis
public double getMax()
ValueAxis
public double getMin()
ValueAxis
public NumberFormat getNumberFormatOverride()
ValueAxis
getNumberFormatOverride
in interface ValueAxis
public void setNumberFormatOverride(NumberFormat formatter)
ValueAxis
setNumberFormatOverride
in interface ValueAxis
public String getRangeType()
ValueAxis
getRangeType
in interface ValueAxis
public void setRangeType(String rangeType)
ValueAxis
setRangeType
in interface ValueAxis
public boolean isCategoryAxis()
isCategoryAxis
in interface ChartAxis
public ChartAxis clone()
clone
in interface ChartAxis
clone
in class AbstractAxis
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractAxis
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractAxis
PersistenceException