org.apache.poi.xssf.usermodel.charts
Class XSSFCategoryAxis
java.lang.Object
org.apache.poi.xssf.usermodel.charts.XSSFChartAxis
org.apache.poi.xssf.usermodel.charts.XSSFCategoryAxis
- All Implemented Interfaces:
- ChartAxis
@Beta
public class XSSFCategoryAxis
- extends XSSFChartAxis
Category axis type.
- Author:
- Martin Andersson
Method Summary |
void |
crossAxis(ChartAxis axis)
Declare this axis cross another axis. |
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTAxPos |
getCTAxPos()
|
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTCrosses |
getCTCrosses()
|
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumFmt |
getCTNumFmt()
|
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTScaling |
getCTScaling()
|
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean |
getDelete()
|
long |
getId()
|
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getLine()
|
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark |
getMajorCTTickMark()
|
org.openxmlformats.schemas.drawingml.x2006.chart.CTChartLines |
getMajorGridLines()
|
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark |
getMinorCTTickMark()
|
boolean |
hasNumberFormat()
Use this to check before retrieving a number format, as calling ChartAxis.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSSFCategoryAxis
public XSSFCategoryAxis(XSSFChart chart,
long id,
AxisPosition pos)
XSSFCategoryAxis
public XSSFCategoryAxis(XSSFChart chart,
org.openxmlformats.schemas.drawingml.x2006.chart.CTCatAx ctCatAx)
getId
public long getId()
- Returns:
- axis id
getLine
@Internal
public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getLine()
- Specified by:
getLine
in class XSSFChartAxis
getCTAxPos
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTAxPos getCTAxPos()
- Specified by:
getCTAxPos
in class XSSFChartAxis
getCTNumFmt
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumFmt getCTNumFmt()
- Specified by:
getCTNumFmt
in class XSSFChartAxis
getCTScaling
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTScaling getCTScaling()
- Specified by:
getCTScaling
in class XSSFChartAxis
getCTCrosses
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTCrosses getCTCrosses()
- Specified by:
getCTCrosses
in class XSSFChartAxis
getDelete
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getDelete()
- Specified by:
getDelete
in class XSSFChartAxis
getMajorCTTickMark
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMajorCTTickMark()
- Specified by:
getMajorCTTickMark
in class XSSFChartAxis
getMinorCTTickMark
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMinorCTTickMark()
- Specified by:
getMinorCTTickMark
in class XSSFChartAxis
getMajorGridLines
@Internal
public org.openxmlformats.schemas.drawingml.x2006.chart.CTChartLines getMajorGridLines()
- Specified by:
getMajorGridLines
in class XSSFChartAxis
crossAxis
public void crossAxis(ChartAxis axis)
- Description copied from interface:
ChartAxis
- Declare this axis cross another axis.
- Parameters:
axis
- that this axis should cross
hasNumberFormat
public boolean hasNumberFormat()
- Description copied from interface:
ChartAxis
- Use this to check before retrieving a number format, as calling
ChartAxis.getNumberFormat()
may create a default one if none exists.
- Returns:
- true if a number format element is defined, false if not
Copyright 2017 The Apache Software Foundation or
its licensors, as applicable.