Interface ChartAxis
- All Known Subinterfaces:
ValueAxis
- All Known Implementing Classes:
XSSFCategoryAxis,XSSFChartAxis,XSSFDateAxis,XSSFValueAxis
Deprecated.
use XDDFChartAxis instead
High level representation of chart axis.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Declare this axis cross another axis.Deprecated.longgetId()Deprecated.doubleDeprecated.Deprecated.doubleDeprecated.doubleDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.Use this to check before retrieving a number format, as callinggetNumberFormat()may create a default one if none exists.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidsetCrosses(AxisCrosses crosses) Deprecated.voidsetLogBase(double logBase) Deprecated.voidsetMajorTickMark(AxisTickMark tickMark) Deprecated.voidsetMaximum(double max) Deprecated.voidsetMinimum(double min) Deprecated.voidsetMinorTickMark(AxisTickMark tickMark) Deprecated.voidsetNumberFormat(String format) Deprecated.voidsetOrientation(AxisOrientation orientation) Deprecated.voidsetPosition(AxisPosition position) Deprecated.voidsetVisible(boolean value) Deprecated.
-
Method Details
-
getId
long getId()Deprecated.- Returns:
- axis id
-
getPosition
AxisPosition getPosition()Deprecated.- Returns:
- axis position
-
setPosition
Deprecated.- Parameters:
position- new axis position
-
getNumberFormat
String getNumberFormat()Deprecated.- Returns:
- axis number format
-
setNumberFormat
Deprecated.- Parameters:
format- axis number format
-
isSetLogBase
boolean isSetLogBase()Deprecated.- Returns:
- true if log base is defined, false otherwise
-
setLogBase
void setLogBase(double logBase) Deprecated.- Parameters:
logBase- a number between 2 and 1000 (inclusive)- Throws:
IllegalArgumentException- if log base not within allowed range
-
getLogBase
double getLogBase()Deprecated.- Returns:
- axis log base or 0.0 if not set
-
isSetMinimum
boolean isSetMinimum()Deprecated.- Returns:
- true if minimum value is defined, false otherwise
-
getMinimum
double getMinimum()Deprecated.- Returns:
- axis minimum or 0.0 if not set
-
setMinimum
void setMinimum(double min) Deprecated.- Parameters:
min- axis minimum
-
isSetMaximum
boolean isSetMaximum()Deprecated.- Returns:
- true if maximum value is defined, false otherwise
-
getMaximum
double getMaximum()Deprecated.- Returns:
- axis maximum or 0.0 if not set
-
setMaximum
void setMaximum(double max) Deprecated.- Parameters:
max- axis maximum
-
getOrientation
AxisOrientation getOrientation()Deprecated.- Returns:
- axis orientation
-
setOrientation
Deprecated.- Parameters:
orientation- axis orientation
-
setCrosses
Deprecated.- Parameters:
crosses- axis cross type
-
getCrosses
AxisCrosses getCrosses()Deprecated.- Returns:
- axis cross type
-
crossAxis
Deprecated.Declare this axis cross another axis.- Parameters:
axis- that this axis should cross
-
isVisible
boolean isVisible()Deprecated.- Returns:
- visibility of the axis.
-
setVisible
void setVisible(boolean value) Deprecated.- Parameters:
value- visibility of the axis.
-
getMajorTickMark
AxisTickMark getMajorTickMark()Deprecated.- Returns:
- major tick mark.
-
setMajorTickMark
Deprecated.- Parameters:
tickMark- major tick mark type.
-
getMinorTickMark
AxisTickMark getMinorTickMark()Deprecated.- Returns:
- minor tick mark.
-
setMinorTickMark
Deprecated.- Parameters:
tickMark- minor tick mark type.
-
hasNumberFormat
boolean hasNumberFormat()Deprecated.Use this to check before retrieving a number format, as callinggetNumberFormat()may create a default one if none exists.- Returns:
- true if a number format element is defined, false if not
-