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, setVisibleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, getChartAxisTitle, getChartService, getLabelAngle, getLabelFont, getLabelPaint, getSharedAxis, getTitleFont, isAssociatedAxis, isAxisShared, isAxisTitleEdited, isChartAxisTitleVisible, isVisible, setCategoryLabelPositions, setChartAxisTitle, setChartService, setIsAxisTitleEdited, setIsChartAxisTitleVisible, setIsSharedAxis, setLabelAngle, setLabelFont, setLabelPaint, setSharedAxis, setTitleFont, setVisiblepublic ChartNumberAxis()
public ChartNumberAxis(Axis axis)
public void merge(ChartAxis ax)
merge in class AbstractAxispublic void setRange(double a,
double b)
ValueAxisprotected ValueAxis getValueAxis()
public void setAutoRange(boolean b)
ValueAxissetAutoRange in interface ValueAxispublic double getMax()
ValueAxispublic double getMin()
ValueAxispublic NumberFormat getNumberFormatOverride()
ValueAxisgetNumberFormatOverride in interface ValueAxispublic void setNumberFormatOverride(NumberFormat formatter)
ValueAxissetNumberFormatOverride in interface ValueAxispublic String getRangeType()
ValueAxisgetRangeType in interface ValueAxispublic void setRangeType(String rangeType)
ValueAxissetRangeType in interface ValueAxispublic boolean isCategoryAxis()
isCategoryAxis in interface ChartAxispublic ChartAxis clone()
clone in interface ChartAxisclone in class AbstractAxispublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class AbstractAxisPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractAxisPersistenceException