@Beta public class XDDFCategoryAxis extends XDDFChartAxis
Constructor and Description |
---|
XDDFCategoryAxis(org.openxmlformats.schemas.drawingml.x2006.chart.CTCatAx ctCatAx) |
XDDFCategoryAxis(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea plotArea,
AxisPosition position) |
Modifier and Type | Method and Description |
---|---|
void |
crossAxis(XDDFChartAxis axis)
Declare this axis cross another axis.
|
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt |
getCTAxId() |
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() |
AxisLabelAlignment |
getLabelAlignment() |
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark |
getMajorCTTickMark() |
double |
getMajorUnit() |
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark |
getMinorCTTickMark() |
double |
getMinorUnit() |
XDDFShapeProperties |
getOrAddMajorGridProperties() |
XDDFShapeProperties |
getOrAddMinorGridProperties() |
XDDFShapeProperties |
getOrAddShapeProperties() |
boolean |
hasNumberFormat()
Use this to check before retrieving a number format, as calling
XDDFChartAxis.getNumberFormat() may create a default one if none exists. |
boolean |
isSetMajorUnit() |
boolean |
isSetMinorUnit() |
void |
setLabelAlignment(AxisLabelAlignment labelAlignment) |
void |
setMajorUnit(double major) |
void |
setMinorUnit(double minor) |
void |
setTitle(java.lang.String text) |
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
public XDDFCategoryAxis(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea plotArea, AxisPosition position)
public XDDFCategoryAxis(org.openxmlformats.schemas.drawingml.x2006.chart.CTCatAx ctCatAx)
public XDDFShapeProperties getOrAddMajorGridProperties()
getOrAddMajorGridProperties
in class XDDFChartAxis
public XDDFShapeProperties getOrAddMinorGridProperties()
getOrAddMinorGridProperties
in class XDDFChartAxis
public XDDFShapeProperties getOrAddShapeProperties()
public void setTitle(java.lang.String text)
setTitle
in class XDDFChartAxis
public boolean isSetMinorUnit()
isSetMinorUnit
in class XDDFChartAxis
public void setMinorUnit(double minor)
setMinorUnit
in class XDDFChartAxis
minor
- axis minor unitpublic double getMinorUnit()
getMinorUnit
in class XDDFChartAxis
public boolean isSetMajorUnit()
isSetMajorUnit
in class XDDFChartAxis
public void setMajorUnit(double major)
setMajorUnit
in class XDDFChartAxis
major
- axis major unitpublic double getMajorUnit()
getMajorUnit
in class XDDFChartAxis
public void crossAxis(XDDFChartAxis axis)
XDDFChartAxis
crossAxis
in class XDDFChartAxis
axis
- that this axis should crossprotected org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt getCTAxId()
getCTAxId
in class XDDFChartAxis
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTAxPos getCTAxPos()
getCTAxPos
in class XDDFChartAxis
public boolean hasNumberFormat()
XDDFChartAxis
XDDFChartAxis.getNumberFormat()
may create a default one if none exists.hasNumberFormat
in class XDDFChartAxis
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumFmt getCTNumFmt()
getCTNumFmt
in class XDDFChartAxis
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTScaling getCTScaling()
getCTScaling
in class XDDFChartAxis
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTCrosses getCTCrosses()
getCTCrosses
in class XDDFChartAxis
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getDelete()
getDelete
in class XDDFChartAxis
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMajorCTTickMark()
getMajorCTTickMark
in class XDDFChartAxis
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMinorCTTickMark()
getMinorCTTickMark
in class XDDFChartAxis
public AxisLabelAlignment getLabelAlignment()
public void setLabelAlignment(AxisLabelAlignment labelAlignment)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.