Class XSSFChartAxis
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.charts.XSSFChartAxis
-
- All Implemented Interfaces:
ChartAxis
- Direct Known Subclasses:
XSSFCategoryAxis
,XSSFDateAxis
,XSSFValueAxis
@Deprecated @Removal(version="4.2") public abstract class XSSFChartAxis extends Object implements ChartAxis
Deprecated.useXDDFChartAxis
insteadBase class for all axis types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AxisCrosses
getCrosses()
Deprecated.abstract CTShapeProperties
getLine()
Deprecated.double
getLogBase()
Deprecated.abstract CTChartLines
getMajorGridLines()
Deprecated.AxisTickMark
getMajorTickMark()
Deprecated.double
getMaximum()
Deprecated.double
getMinimum()
Deprecated.AxisTickMark
getMinorTickMark()
Deprecated.String
getNumberFormat()
Deprecated.AxisOrientation
getOrientation()
Deprecated.AxisPosition
getPosition()
Deprecated.boolean
isSetLogBase()
Deprecated.boolean
isSetMaximum()
Deprecated.boolean
isSetMinimum()
Deprecated.boolean
isVisible()
Deprecated.void
setCrosses(AxisCrosses crosses)
Deprecated.void
setLogBase(double logBase)
Deprecated.void
setMajorTickMark(AxisTickMark tickMark)
Deprecated.void
setMaximum(double max)
Deprecated.void
setMinimum(double min)
Deprecated.void
setMinorTickMark(AxisTickMark tickMark)
Deprecated.void
setNumberFormat(String format)
Deprecated.void
setOrientation(AxisOrientation orientation)
Deprecated.void
setPosition(AxisPosition position)
Deprecated.void
setVisible(boolean value)
Deprecated.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.ss.usermodel.charts.ChartAxis
crossAxis, getId, hasNumberFormat
-
-
-
-
Method Detail
-
getPosition
public AxisPosition getPosition()
Deprecated.- Specified by:
getPosition
in interfaceChartAxis
- Returns:
- axis position
-
setPosition
public void setPosition(AxisPosition position)
Deprecated.- Specified by:
setPosition
in interfaceChartAxis
- Parameters:
position
- new axis position
-
setNumberFormat
public void setNumberFormat(String format)
Deprecated.- Specified by:
setNumberFormat
in interfaceChartAxis
- Parameters:
format
- axis number format
-
getNumberFormat
public String getNumberFormat()
Deprecated.- Specified by:
getNumberFormat
in interfaceChartAxis
- Returns:
- axis number format
-
isSetLogBase
public boolean isSetLogBase()
Deprecated.- Specified by:
isSetLogBase
in interfaceChartAxis
- Returns:
- true if log base is defined, false otherwise
-
setLogBase
public void setLogBase(double logBase)
Deprecated.- Specified by:
setLogBase
in interfaceChartAxis
- Parameters:
logBase
- a number between 2 and 1000 (inclusive)
-
getLogBase
public double getLogBase()
Deprecated.- Specified by:
getLogBase
in interfaceChartAxis
- Returns:
- axis log base or 0.0 if not set
-
isSetMinimum
public boolean isSetMinimum()
Deprecated.- Specified by:
isSetMinimum
in interfaceChartAxis
- Returns:
- true if minimum value is defined, false otherwise
-
setMinimum
public void setMinimum(double min)
Deprecated.- Specified by:
setMinimum
in interfaceChartAxis
- Parameters:
min
- axis minimum
-
getMinimum
public double getMinimum()
Deprecated.- Specified by:
getMinimum
in interfaceChartAxis
- Returns:
- axis minimum or 0.0 if not set
-
isSetMaximum
public boolean isSetMaximum()
Deprecated.- Specified by:
isSetMaximum
in interfaceChartAxis
- Returns:
- true if maximum value is defined, false otherwise
-
setMaximum
public void setMaximum(double max)
Deprecated.- Specified by:
setMaximum
in interfaceChartAxis
- Parameters:
max
- axis maximum
-
getMaximum
public double getMaximum()
Deprecated.- Specified by:
getMaximum
in interfaceChartAxis
- Returns:
- axis maximum or 0.0 if not set
-
getOrientation
public AxisOrientation getOrientation()
Deprecated.- Specified by:
getOrientation
in interfaceChartAxis
- Returns:
- axis orientation
-
setOrientation
public void setOrientation(AxisOrientation orientation)
Deprecated.- Specified by:
setOrientation
in interfaceChartAxis
- Parameters:
orientation
- axis orientation
-
getCrosses
public AxisCrosses getCrosses()
Deprecated.- Specified by:
getCrosses
in interfaceChartAxis
- Returns:
- axis cross type
-
setCrosses
public void setCrosses(AxisCrosses crosses)
Deprecated.- Specified by:
setCrosses
in interfaceChartAxis
- Parameters:
crosses
- axis cross type
-
isVisible
public boolean isVisible()
Deprecated.
-
setVisible
public void setVisible(boolean value)
Deprecated.- Specified by:
setVisible
in interfaceChartAxis
- Parameters:
value
- visibility of the axis.
-
getMajorTickMark
public AxisTickMark getMajorTickMark()
Deprecated.- Specified by:
getMajorTickMark
in interfaceChartAxis
- Returns:
- major tick mark.
-
setMajorTickMark
public void setMajorTickMark(AxisTickMark tickMark)
Deprecated.- Specified by:
setMajorTickMark
in interfaceChartAxis
- Parameters:
tickMark
- major tick mark type.
-
getMinorTickMark
public AxisTickMark getMinorTickMark()
Deprecated.- Specified by:
getMinorTickMark
in interfaceChartAxis
- Returns:
- minor tick mark.
-
setMinorTickMark
public void setMinorTickMark(AxisTickMark tickMark)
Deprecated.- Specified by:
setMinorTickMark
in interfaceChartAxis
- Parameters:
tickMark
- minor tick mark type.
-
getMajorGridLines
@Internal public abstract CTChartLines getMajorGridLines()
Deprecated.
-
getLine
@Internal public abstract CTShapeProperties getLine()
Deprecated.
-
-