Class XDDFSeriesAxis
java.lang.Object
org.apache.poi.xddf.usermodel.chart.XDDFChartAxis
org.apache.poi.xddf.usermodel.chart.XDDFSeriesAxis
- All Implemented Interfaces:
HasShapeProperties
-
Constructor Summary
ConstructorsConstructorDescriptionXDDFSeriesAxis
(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea plotArea, AxisPosition position) XDDFSeriesAxis
(org.openxmlformats.schemas.drawingml.x2006.chart.CTSerAx ctSerAx) -
Method Summary
Modifier and TypeMethodDescriptionvoid
crossAxis
(XDDFChartAxis axis) Declare this axis cross another axis.protected org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTAxPos
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTCrosses
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumFmt
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTScaling
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark
double
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark
double
boolean
Use this to check before retrieving a number format, as callingXDDFChartAxis.getNumberFormat()
may create a default one if none exists.boolean
boolean
void
setMajorUnit
(double major) void
setMinorUnit
(double minor) void
Methods inherited from class org.apache.poi.xddf.usermodel.chart.XDDFChartAxis
getCrosses, getId, getLogBase, getMajorTickMark, getMaximum, getMinimum, getMinorTickMark, getNextAxId, getNumberFormat, getOrAddLinesProperties, getOrientation, getPosition, isSetLogBase, isSetMaximum, isSetMinimum, isVisible, setCrosses, setLogBase, setMajorTickMark, setMaximum, setMinimum, setMinorTickMark, setNumberFormat, setOrientation, setPosition, setVisible
-
Constructor Details
-
XDDFSeriesAxis
public XDDFSeriesAxis(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea plotArea, AxisPosition position) -
XDDFSeriesAxis
public XDDFSeriesAxis(org.openxmlformats.schemas.drawingml.x2006.chart.CTSerAx ctSerAx)
-
-
Method Details
-
getOrAddMajorGridProperties
- Specified by:
getOrAddMajorGridProperties
in classXDDFChartAxis
-
getOrAddMinorGridProperties
- Specified by:
getOrAddMinorGridProperties
in classXDDFChartAxis
-
getOrAddShapeProperties
-
setTitle
- Specified by:
setTitle
in classXDDFChartAxis
- Since:
- 4.0.1
-
isSetMinorUnit
public boolean isSetMinorUnit()- Specified by:
isSetMinorUnit
in classXDDFChartAxis
- Returns:
- true if minor unit value is defined, false otherwise
-
setMinorUnit
public void setMinorUnit(double minor) - Specified by:
setMinorUnit
in classXDDFChartAxis
- Parameters:
minor
- axis minor unit
-
getMinorUnit
public double getMinorUnit()- Specified by:
getMinorUnit
in classXDDFChartAxis
- Returns:
- axis minor unit or NaN if not set
-
isSetMajorUnit
public boolean isSetMajorUnit()- Specified by:
isSetMajorUnit
in classXDDFChartAxis
- Returns:
- true if major unit value is defined, false otherwise
-
setMajorUnit
public void setMajorUnit(double major) - Specified by:
setMajorUnit
in classXDDFChartAxis
- Parameters:
major
- axis major unit
-
getMajorUnit
public double getMajorUnit()- Specified by:
getMajorUnit
in classXDDFChartAxis
- Returns:
- axis major unit or NaN if not set
-
crossAxis
Description copied from class:XDDFChartAxis
Declare this axis cross another axis.- Specified by:
crossAxis
in classXDDFChartAxis
- Parameters:
axis
- that this axis should cross
-
getCTAxId
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt getCTAxId()- Specified by:
getCTAxId
in classXDDFChartAxis
-
getCTAxPos
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTAxPos getCTAxPos()- Specified by:
getCTAxPos
in classXDDFChartAxis
-
hasNumberFormat
public boolean hasNumberFormat()Description copied from class:XDDFChartAxis
Use this to check before retrieving a number format, as callingXDDFChartAxis.getNumberFormat()
may create a default one if none exists.- Specified by:
hasNumberFormat
in classXDDFChartAxis
- Returns:
- true if a number format element is defined, false if not
-
getCTNumFmt
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumFmt getCTNumFmt()- Specified by:
getCTNumFmt
in classXDDFChartAxis
-
getCTScaling
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTScaling getCTScaling()- Specified by:
getCTScaling
in classXDDFChartAxis
-
getCTCrosses
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTCrosses getCTCrosses()- Specified by:
getCTCrosses
in classXDDFChartAxis
-
getDelete
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getDelete()- Specified by:
getDelete
in classXDDFChartAxis
-
getMajorCTTickMark
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMajorCTTickMark()- Specified by:
getMajorCTTickMark
in classXDDFChartAxis
-
getMinorCTTickMark
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMinorCTTickMark()- Specified by:
getMinorCTTickMark
in classXDDFChartAxis
-