public interface IAxis
| Modifier and Type | Method and Description |
|---|---|
CategoryType |
getActualCategoryType()
Returns the actual category axis type.
|
boolean |
getAxisBetweenCategories()
Gets whether the value axis crosses the category axis (True if the value axis
crosses the category axis between categories).
|
AxisGroup |
getAxisGroup()
Returns the group for the specified axis.
|
IAxisTitle |
getAxisTitle()
Returns an
IAxisTitle object that represents the title of the
specified axis. |
TimeUnit |
getBaseUnit()
Gets the base unit for the specified category axis.
|
boolean |
getBaseUnitIsAuto()
Gets whether the units are automatically selected (True if Microsoft Excel
chooses appropriate base units for the specified category axis).
|
java.lang.String[] |
getCategoryNames()
Gets all the category names for the specified axis as a text array.
|
CategoryType |
getCategoryType()
Gets the category axis type.
|
AxisCrosses |
getCrosses()
Gets the point on the specified axis where the other axis crosses.
|
double |
getCrossesAt()
Gets the point on the value axis where the category axis crosses it.
|
DisplayUnit |
getDisplayUnit()
Gets the unit label for the value axis.
|
double |
getDisplayUnitCustom()
Gets whether the displayed units use custom settings (If the DisplayUnit
property of the is custom, then the DisplayUnitCustom property returns or
sets the value of the displayed units.
|
IDisplayUnitLabel |
getDisplayUnitLabel()
Returns the
IDisplayUnitLabel object for the specified axis. |
IChartFormat |
getFormat()
Returns the
IChartFormat object. |
boolean |
getHasDisplayUnitLabel()
Gets whether the label is displayed on the specified axis (True if the label
specified by the DisplayUnit or DisplayUnitCustom property is displayed on
the specified axis).
|
boolean |
getHasMajorGridlines()
Gets whether the axis has major gridlines (True if the axis has major
gridlines).
|
boolean |
getHasMinorGridlines()
Gets whether the axis has minor gridlines (True if the axis has minor
gridlines).
|
boolean |
getHasTitle()
Gets whether the axis or chart has a visible title (True if the axis or chart
has a visible title).
|
double |
getLogBase()
Gets the base of the logarithm when you are using log scales.
|
IGridlines |
getMajorGridlines()
Returns a
IGridlines object that represents the major gridlines for
the specified axis. |
TickMark |
getMajorTickMark()
Gets the type of major tick mark for the specified axis.
|
double |
getMajorUnit()
Gets the major units for the value axis.
|
boolean |
getMajorUnitIsAuto()
Gets whether Excel calculates the major units (True if Microsoft Excel
calculates the major units for the value axis).
|
TimeUnit |
getMajorUnitScale()
Gets the major unit scale value for the category axis when the CategoryType
property is set to TimeScale.
|
double |
getMaximumScale()
Gets the maximum value on the value axis.
|
boolean |
getMaximumScaleIsAuto()
Gets whether Excel calculates the maximum value (True if Microsoft Excel
calculates the maximum value for the value axis).
|
double |
getMinimumScale()
Gets the minimum value on the value axis.
|
boolean |
getMinimumScaleIsAuto()
Gets whether Excel calculates the miniumum value for the value axis (True if
Microsoft Excel calculates the minimum value).
|
IGridlines |
getMinorGridlines()
Returns the
IGridlines object that represents the minor gridlines for
the specified axis. |
TickMark |
getMinorTickMark()
Gets the type of minor tick mark for the specified axis.
|
double |
getMinorUnit()
Gets the minor units on the value axis.
|
boolean |
getMinorUnitIsAuto()
Gets whether Microsoft Excel calculates minor units for the value axis (True
if Excel calculates minor units).
|
TimeUnit |
getMinorUnitScale()
Gets the minor unit scale value for the category axis when the
CategoryType property is set to TimeScale. |
IAxes |
getParent()
Returns the parent object for the specified object.
|
boolean |
getReversePlotOrder()
Gets whether Excel plots data from last to first (True if Microsoft Excel
plots data points from last to first).
|
ScaleType |
getScaleType()
Gets the value axis scale type.
|
TickLabelPosition |
getTickLabelPosition()
Gets the position of tick-mark labels on the specified axis.
|
ITickLabels |
getTickLabels()
Returns the
ITickLabels object that represents the tick-mark labels
for the specified axis. |
int |
getTickLabelSpacing()
Gets the number of categories or series between tick-mark labels.
|
boolean |
getTickLabelSpacingIsAuto()
Gets whether the tick label spacing is automatic.
|
int |
getTickMarkSpacing()
Gets s the number of categories or series between tick marks.
|
AxisType |
getType()
Returns the Axis type.
|
boolean |
getVisible()
Get whether the axis is visible.
|
void |
setAxisBetweenCategories(boolean value)
Sets whether the value axis crosses the category axis (True if the value axis
crosses the category axis between categories).
|
void |
setBaseUnit(TimeUnit value)
Sets the base unit for the specified category axis.
|
void |
setBaseUnitIsAuto(boolean value)
Sets whether the units are automatically selected (True if Microsoft Excel
chooses appropriate base units for the specified category axis).
|
void |
setCategoryNames(java.lang.String[] value)
Sets all the category names for the specified axis as a text array.
|
void |
setCategoryType(CategoryType value)
Sets the category axis type.
|
void |
setCrosses(AxisCrosses value)
Sets the point on the specified axis where the other axis crosses.
|
void |
setCrossesAt(double value)
Sets the point on the value axis where the category axis crosses it.
|
void |
setDisplayUnit(DisplayUnit value)
Sets the unit label for the value axis.
|
void |
setDisplayUnitCustom(double value)
Sets whether the displayed units use custom settings (If the DisplayUnit
property of the property is custom, then the DisplayUnitCustom property
returns or sets the value of the displayed units.
|
void |
setHasDisplayUnitLabel(boolean value)
Sets whether the label is displayed on the specified axis (True if the label
specified by the DisplayUnit or DisplayUnitCustom property is displayed on
the specified axis).
|
void |
setHasMajorGridlines(boolean value)
Sets whether the axis has major gridlines (True if the axis has major
gridlines).
|
void |
setHasMinorGridlines(boolean value)
Sets whether the axis has minor gridlines (True if the axis has minor
gridlines).
|
void |
setHasTitle(boolean value)
Sets whether the axis or chart has a visible title (True if the axis or chart
has a visible title).
|
void |
setLogBase(double value)
Sets the base of the logarithm when you are using log scales.
|
void |
setMajorTickMark(TickMark value)
Sets the type of major tick mark for the specified axis.
|
void |
setMajorUnit(double value)
Sets the major units for the value axis.
|
void |
setMajorUnitIsAuto(boolean value)
Sets whether Excel calculates the major units (True if Microsoft Excel
calculates the major units for the value axis).
|
void |
setMajorUnitScale(TimeUnit value)
Sets the major unit scale value for the category axis when the CategoryType
property is set to TimeScale.
|
void |
setMaximumScale(double value)
Sets the maximum value on the value axis.
|
void |
setMaximumScaleIsAuto(boolean value)
Sets whether Excel calculates the maximum value (True if Microsoft Excel
calculates the maximum value for the value axis).
|
void |
setMinimumScale(double value)
Sets the minimum value on the value axis.
|
void |
setMinimumScaleIsAuto(boolean value)
Sets whether Excel calculates the miniumum value for the value axis (True if
Microsoft Excel calculates the minimum value).
|
void |
setMinorTickMark(TickMark value)
Sets the type of minor tick mark for the specified axis.
|
void |
setMinorUnit(double value)
Sets the minor units on the value axis.
|
void |
setMinorUnitIsAuto(boolean value)
Sets whether Microsoft Excel calculates minor units for the value axis (True
if Excel calculates minor units).
|
void |
setMinorUnitScale(TimeUnit value)
Sets the minor unit scale value for the category axis when the
CategoryType property is set to TimeScale. |
void |
setReversePlotOrder(boolean value)
Sets whether Excel plots data from last to first (True if Microsoft Excel
plots data points from last to first).
|
void |
setScaleType(ScaleType value)
Sets the value axis scale type.
|
void |
setTickLabelPosition(TickLabelPosition value)
Sets the position of tick-mark labels on the specified axis.
|
void |
setTickLabelSpacing(int value)
Sets the number of categories or series between tick-mark labels.
|
void |
setTickLabelSpacingIsAuto(boolean value)
Sets whether the tick label spacing is automatic.
|
void |
setTickMarkSpacing(int value)
Sets s the number of categories or series between tick marks.
|
void |
setVisible(boolean value)
Set whether the axis is visible.
|
boolean getAxisBetweenCategories()
void setAxisBetweenCategories(boolean value)
AxisGroup getAxisGroup()
IAxisTitle getAxisTitle()
IAxisTitle object that represents the title of the
specified axis.TimeUnit getBaseUnit()
void setBaseUnit(TimeUnit value)
boolean getBaseUnitIsAuto()
void setBaseUnitIsAuto(boolean value)
java.lang.String[] getCategoryNames()
void setCategoryNames(java.lang.String[] value)
CategoryType getCategoryType()
void setCategoryType(CategoryType value)
CategoryType getActualCategoryType()
AxisCrosses getCrosses()
void setCrosses(AxisCrosses value)
double getCrossesAt()
void setCrossesAt(double value)
DisplayUnit getDisplayUnit()
void setDisplayUnit(DisplayUnit value)
double getDisplayUnitCustom()
void setDisplayUnitCustom(double value)
IDisplayUnitLabel getDisplayUnitLabel()
IDisplayUnitLabel object for the specified axis. Returns
Null if the HasDisplayUnitLabel property is set to False.IChartFormat getFormat()
IChartFormat object.boolean getHasDisplayUnitLabel()
void setHasDisplayUnitLabel(boolean value)
boolean getHasMajorGridlines()
void setHasMajorGridlines(boolean value)
boolean getHasMinorGridlines()
void setHasMinorGridlines(boolean value)
boolean getHasTitle()
void setHasTitle(boolean value)
double getLogBase()
void setLogBase(double value)
IGridlines getMajorGridlines()
IGridlines object that represents the major gridlines for
the specified axis. Only axes in the primary axis group can have gridlines.TickMark getMajorTickMark()
void setMajorTickMark(TickMark value)
double getMajorUnit()
void setMajorUnit(double value)
boolean getMajorUnitIsAuto()
void setMajorUnitIsAuto(boolean value)
TimeUnit getMajorUnitScale()
void setMajorUnitScale(TimeUnit value)
double getMaximumScale()
void setMaximumScale(double value)
boolean getMaximumScaleIsAuto()
void setMaximumScaleIsAuto(boolean value)
double getMinimumScale()
void setMinimumScale(double value)
boolean getMinimumScaleIsAuto()
void setMinimumScaleIsAuto(boolean value)
IGridlines getMinorGridlines()
IGridlines object that represents the minor gridlines for
the specified axis. Only axes in the primary axis group can have gridlines.TickMark getMinorTickMark()
void setMinorTickMark(TickMark value)
double getMinorUnit()
void setMinorUnit(double value)
boolean getMinorUnitIsAuto()
void setMinorUnitIsAuto(boolean value)
TimeUnit getMinorUnitScale()
CategoryType property is set to TimeScale.void setMinorUnitScale(TimeUnit value)
CategoryType property is set to TimeScale.IAxes getParent()
boolean getReversePlotOrder()
void setReversePlotOrder(boolean value)
ScaleType getScaleType()
void setScaleType(ScaleType value)
TickLabelPosition getTickLabelPosition()
void setTickLabelPosition(TickLabelPosition value)
ITickLabels getTickLabels()
ITickLabels object that represents the tick-mark labels
for the specified axis.int getTickLabelSpacing()
void setTickLabelSpacing(int value)
boolean getTickLabelSpacingIsAuto()
void setTickLabelSpacingIsAuto(boolean value)
int getTickMarkSpacing()
void setTickMarkSpacing(int value)
AxisType getType()
boolean getVisible()
void setVisible(boolean value)