@Beta public abstract class XDDFChartAxis extends java.lang.Object implements HasShapeProperties
Constructor and Description |
---|
XDDFChartAxis() |
Modifier and Type | Method and Description |
---|---|
abstract void |
crossAxis(XDDFChartAxis axis)
Declare this axis cross another axis.
(声明这个轴穿过另一个轴。)
|
AxisCrosses |
getCrosses() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt |
getCTAxId() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTAxPos |
getCTAxPos() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTCrosses |
getCTCrosses() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTNumFmt |
getCTNumFmt() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTScaling |
getCTScaling() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTTickLblPos |
getCTTickLblPos() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean |
getDelete() |
long |
getId() |
double |
getLogBase() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark |
getMajorCTTickMark() |
AxisTickMark |
getMajorTickMark() |
abstract double |
getMajorUnit() |
double |
getMaximum() |
double |
getMinimum() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark |
getMinorCTTickMark() |
AxisTickMark |
getMinorTickMark() |
abstract double |
getMinorUnit() |
protected long |
getNextAxId(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea plotArea) |
java.lang.String |
getNumberFormat() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getOrAddLinesProperties(org.openxmlformats.schemas.drawingml.x2006.chart.CTChartLines gridlines) |
abstract XDDFShapeProperties |
getOrAddMajorGridProperties() |
abstract XDDFShapeProperties |
getOrAddMinorGridProperties() |
abstract XDDFRunProperties |
getOrAddTextProperties() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties |
getOrAddTextProperties(org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody body) |
AxisOrientation |
getOrientation() |
AxisPosition |
getPosition() |
AxisTickLabelPosition |
getTickLabelPosition() |
abstract boolean |
hasNumberFormat()
Use this to check before retrieving a number format, as calling
getNumberFormat() may create a default one if none exists.
(在检索数字格式之前使用它进行检查,因为如果不存在,调用 getNumberFormat() 可能会创建一个默认格式。)
|
boolean |
isSetLogBase() |
abstract boolean |
isSetMajorUnit() |
boolean |
isSetMaximum() |
boolean |
isSetMinimum() |
abstract boolean |
isSetMinorUnit() |
boolean |
isVisible() |
void |
setCrosses(AxisCrosses crosses) |
void |
setLogBase(double logBase) |
void |
setMajorTickMark(AxisTickMark tickMark) |
abstract void |
setMajorUnit(double major) |
void |
setMaximum(double max) |
void |
setMinimum(double min) |
void |
setMinorTickMark(AxisTickMark tickMark) |
abstract void |
setMinorUnit(double minor) |
void |
setNumberFormat(java.lang.String format) |
void |
setOrientation(AxisOrientation orientation) |
void |
setPosition(AxisPosition position) |
void |
setTickLabelPosition(AxisTickLabelPosition labelPosition) |
abstract void |
setTitle(java.lang.String text) |
void |
setVisible(boolean value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrAddShapeProperties
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt getCTAxId()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTAxPos getCTAxPos()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTNumFmt getCTNumFmt()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTScaling getCTScaling()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTCrosses getCTCrosses()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getDelete()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMajorCTTickMark()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTTickMark getMinorCTTickMark()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTTickLblPos getCTTickLblPos()
public abstract XDDFShapeProperties getOrAddMajorGridProperties()
public abstract XDDFShapeProperties getOrAddMinorGridProperties()
public abstract XDDFRunProperties getOrAddTextProperties()
public abstract void setTitle(java.lang.String text)
public abstract boolean isSetMinorUnit()
public abstract void setMinorUnit(double minor)
minor
- axis minor unit
(次要轴次要单位)
public abstract double getMinorUnit()
public abstract boolean isSetMajorUnit()
public abstract void setMajorUnit(double major)
major
- axis major unit
(主轴主要单位)
public abstract double getMajorUnit()
public long getId()
public AxisPosition getPosition()
public void setPosition(AxisPosition position)
position
- new axis position
(位置 - 新轴位置)
public abstract boolean hasNumberFormat()
getNumberFormat()
may create a default one if none exists.
(在检索数字格式之前使用它进行检查,因为如果不存在,调用 getNumberFormat() 可能会创建一个默认格式。)
public void setNumberFormat(java.lang.String format)
format
- axis number format
(format - 轴号格式)
public java.lang.String getNumberFormat()
public boolean isSetLogBase()
public void setLogBase(double logBase)
logBase
- a number between 2 and 1000 (inclusive)
(logBase - 2 到 1000(含)之间的数字)
java.lang.IllegalArgumentException
- if log base not within allowed range
(java.lang.IllegalArgumentException - 如果日志库不在允许的范围内)
public double getLogBase()
public boolean isSetMinimum()
public void setMinimum(double min)
min
- axis minimum
(min - 轴最小值)
public double getMinimum()
public boolean isSetMaximum()
public void setMaximum(double max)
max
- axis maximum
(max - 轴最大值)
public double getMaximum()
public AxisOrientation getOrientation()
public void setOrientation(AxisOrientation orientation)
orientation
- axis orientation
(方向 - 轴方向)
public AxisCrosses getCrosses()
public void setCrosses(AxisCrosses crosses)
crosses
- axis cross type
(crosses - 轴交叉型)
public abstract void crossAxis(XDDFChartAxis axis)
axis
- that this axis should cross
(轴 - 该轴应该交叉)
public boolean isVisible()
public void setVisible(boolean value)
value
- visibility of the axis.
(value - 轴的可见性。)
public AxisTickMark getMajorTickMark()
public void setMajorTickMark(AxisTickMark tickMark)
tickMark
- major tick mark type.
(tickMark - 主要刻度线类型。)
public AxisTickMark getMinorTickMark()
public void setMinorTickMark(AxisTickMark tickMark)
tickMark
- minor tick mark type.
(tickMark - 次要刻度线类型。)
public AxisTickLabelPosition getTickLabelPosition()
public void setTickLabelPosition(AxisTickLabelPosition labelPosition)
labelPosition
- tick label position.
(labelPosition - 勾选标签位置。)
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties getOrAddTextProperties(org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody body)
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getOrAddLinesProperties(org.openxmlformats.schemas.drawingml.x2006.chart.CTChartLines gridlines)
protected long getNextAxId(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea plotArea)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.