Class XSSFDateAxis
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.charts.XSSFChartAxis
-
- org.apache.poi.xssf.usermodel.charts.XSSFDateAxis
-
- All Implemented Interfaces:
ChartAxis
@Deprecated @Removal(version="4.2") public class XSSFDateAxis extends XSSFChartAxis
Deprecated.useXDDFDateAxisinsteadDate axis type. Currently only implements the same values asXSSFCategoryAxis, since the two are nearly identical.
-
-
Constructor Summary
Constructors Constructor Description XSSFDateAxis(XSSFChart chart, long id, AxisPosition pos)Deprecated.XSSFDateAxis(XSSFChart chart, CTDateAx ctDateAx)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcrossAxis(ChartAxis axis)Deprecated.Declare this axis cross another axis.longgetId()Deprecated.CTShapePropertiesgetLine()Deprecated.CTChartLinesgetMajorGridLines()Deprecated.booleanhasNumberFormat()Deprecated.Use this to check before retrieving a number format, as callingChartAxis.getNumberFormat()may create a default one if none exists.-
Methods inherited from class org.apache.poi.xssf.usermodel.charts.XSSFChartAxis
getCrosses, getLogBase, getMajorTickMark, getMaximum, getMinimum, getMinorTickMark, getNumberFormat, getOrientation, getPosition, isSetLogBase, isSetMaximum, isSetMinimum, isVisible, setCrosses, setLogBase, setMajorTickMark, setMaximum, setMinimum, setMinorTickMark, setNumberFormat, setOrientation, setPosition, setVisible
-
-
-
-
Constructor Detail
-
XSSFDateAxis
public XSSFDateAxis(XSSFChart chart, long id, AxisPosition pos)
Deprecated.
-
-
Method Detail
-
getId
public long getId()
Deprecated.- Returns:
- axis id
-
getLine
@Internal public CTShapeProperties getLine()
Deprecated.- Specified by:
getLinein classXSSFChartAxis
-
getMajorGridLines
@Internal public CTChartLines getMajorGridLines()
Deprecated.- Specified by:
getMajorGridLinesin classXSSFChartAxis
-
crossAxis
public void crossAxis(ChartAxis axis)
Deprecated.Description copied from interface:ChartAxisDeclare this axis cross another axis.- Parameters:
axis- that this axis should cross
-
hasNumberFormat
public boolean hasNumberFormat()
Deprecated.Description copied from interface:ChartAxisUse this to check before retrieving a number format, as callingChartAxis.getNumberFormat()may create a default one if none exists.- Returns:
- true if a number format element is defined, false if not
-
-