|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Axis
public class Axis
Encapsulates the object that represents a chart's axis.
Method Summary | |
---|---|
boolean |
getAxisBetweenCategories()
Represents if the value axis crosses the category axis between categories. |
int |
getBaseUnitScale()
Specifies the smallest time unit that is represented on the date axis. |
int |
getCategoryAxisType()
Specifies the type of the category axis. |
IChart |
getChart()
Returns the parent chart. |
float |
getCrossAt()
Represents the point on the axis where the perpendicular axis crosses it. |
int |
getCrossType()
Represents the CrossType on the specified axis where the other axis crosses. |
int |
getDisplayUnit()
Specifies the scaling value of the display units for the value axis. |
IAxisFormat |
getFormat()
Represents format of axis. |
int |
getLabelOffset()
Specifies the distance of labels from the axis. |
double |
getLogBase()
Represents the logarithmic base. |
IChartLinesFormat |
getMajorGridLinesFormat()
Represents major gridlines format on a chart axis. |
int |
getMajorTickMark()
Represents the type of major tick mark for the specified axis. |
double |
getMajorUnit()
Represents the major units for the date or value axis. |
int |
getMajorUnitScale()
Represents the major unit scale for the date axis. |
double |
getMaxValue()
Represents the maximum value on the value axis. |
IChartLinesFormat |
getMinorGridLinesFormat()
Represents minor gridlines format on a chart axis. |
int |
getMinorTickMark()
Represents the type of minor tick mark for the specified axis. |
double |
getMinorUnit()
Represents the minor units for the date or value axis. |
int |
getMinorUnitScale()
Represents the major unit scale for the date axis. |
double |
getMinValue()
Represents the minimum value on the value axis. |
java.lang.String |
getNumberFormat()
Represents the format string for the Axis Labels. |
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object. |
int |
getPosition()
Represents position of axis. |
IPresentation |
getPresentation()
Returns the parent presentation of a FillFormat. |
float |
getRotationAngle()
Deprecated. |
boolean |
getShowMajorGridLines()
To hide major gridline set MajorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill. |
boolean |
getShowMinorGridLines()
To hide minor gridline set MinorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill. |
IBaseSlide |
getSlide()
Returns the parent slide of a FillFormat. |
boolean |
getSourceLinked()
Deprecated. |
IChartTextFormat |
getTextFormat()
Represents format of text. |
int |
getTickLabelPosition()
Represents the position of tick-mark labels on the specified axis. |
float |
getTickLabelRotationAngle()
Represents the rotation angle of tick labels. |
long |
getTickLabelSpacing()
Specifies how many tick labels to skip between label that is drawn. |
IChartTitle |
getTitle()
Gets the axis' title. |
boolean |
hasTitle()
Determines whether a axis has a visible title. |
boolean |
isAutomaticMajorUnit()
Indicates whether the major unit of the axis is automatically assigned. |
boolean |
isAutomaticMaxValue()
Indicates whether the max value is automatically assigned. |
boolean |
isAutomaticMinorUnit()
Indicates whether the minor unit of the axis is automatically assigned. |
boolean |
isAutomaticMinValue()
Indicates whether the min value is automatically assigned. |
boolean |
isAutomaticTickLabelSpacing()
Specifies automatic tick label spacing value. |
boolean |
isLogarithmic()
Represents if the value axis scale type is logarithmic or not. |
boolean |
isNumberFormatLinkedToSource()
Indicates whether the format is linked source data. |
boolean |
isPlotOrderReversed()
Represents if MS PowerPoint plots data points from last to first. |
boolean |
isVisible()
Represents if the axis is visible. |
void |
setAutomaticMajorUnit(boolean value)
Indicates whether the major unit of the axis is automatically assigned. |
void |
setAutomaticMaxValue(boolean value)
Indicates whether the max value is automatically assigned. |
void |
setAutomaticMinorUnit(boolean value)
Indicates whether the minor unit of the axis is automatically assigned. |
void |
setAutomaticMinValue(boolean value)
Indicates whether the min value is automatically assigned. |
void |
setAutomaticTickLabelSpacing(boolean value)
Specifies automatic tick label spacing value. |
void |
setAxisBetweenCategories(boolean value)
Represents if the value axis crosses the category axis between categories. |
void |
setBaseUnitScale(int value)
Specifies the smallest time unit that is represented on the date axis. |
void |
setCategoryAxisType(int value)
Specifies the type of the category axis. |
void |
setCrossAt(float value)
Represents the point on the axis where the perpendicular axis crosses it. |
void |
setCrossType(int value)
Represents the CrossType on the specified axis where the other axis crosses. |
void |
setDisplayUnit(int value)
Specifies the scaling value of the display units for the value axis. |
void |
setLabelOffset(int value)
Specifies the distance of labels from the axis. |
void |
setLogarithmic(boolean value)
Represents if the value axis scale type is logarithmic or not. |
void |
setLogBase(double value)
Represents the logarithmic base. |
void |
setMajorTickMark(int value)
Represents the type of major tick mark for the specified axis. |
void |
setMajorUnit(double value)
Represents the major units for the date or value axis. |
void |
setMajorUnitScale(int value)
Represents the major unit scale for the date axis. |
void |
setMaxValue(double value)
Represents the maximum value on the value axis. |
void |
setMinorTickMark(int value)
Represents the type of minor tick mark for the specified axis. |
void |
setMinorUnit(double value)
Represents the minor units for the date or value axis. |
void |
setMinorUnitScale(int value)
Represents the major unit scale for the date axis. |
void |
setMinValue(double value)
Represents the minimum value on the value axis. |
void |
setNumberFormat(java.lang.String value)
Represents the format string for the Axis Labels. |
void |
setNumberFormatLinkedToSource(boolean value)
Indicates whether the format is linked source data. |
void |
setPlotOrderReversed(boolean value)
Represents if MS PowerPoint plots data points from last to first. |
void |
setPosition(int value)
Represents position of axis. |
void |
setRotationAngle(float value)
Deprecated. |
void |
setSourceLinked(boolean value)
Deprecated. |
void |
setTickLabelPosition(int value)
Represents the position of tick-mark labels on the specified axis. |
void |
setTickLabelRotationAngle(float value)
Represents the rotation angle of tick labels. |
void |
setTickLabelSpacing(long value)
Specifies how many tick labels to skip between label that is drawn. |
void |
setTitle(boolean value)
Determines whether a axis has a visible title. |
void |
setVisible(boolean value)
Represents if the axis is visible. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public IChart getChart()
Returns the parent chart.
Read-only IChart
.
getChart
in interface IChartComponent
public boolean getAxisBetweenCategories()
Represents if the value axis crosses the category axis between categories.
This property applies only to category axes, and it doesn't apply to 3-D charts.
Read/write boolean
.
getAxisBetweenCategories
in interface IAxis
public void setAxisBetweenCategories(boolean value)
Represents if the value axis crosses the category axis between categories.
This property applies only to category axes, and it doesn't apply to 3-D charts.
Read/write boolean
.
setAxisBetweenCategories
in interface IAxis
public final int getCategoryAxisType()
Specifies the type of the category axis.
Read/write CategoryAxisType
.
getCategoryAxisType
in interface IAxis
public final void setCategoryAxisType(int value)
Specifies the type of the category axis.
Read/write CategoryAxisType
.
setCategoryAxisType
in interface IAxis
public float getCrossAt()
Represents the point on the axis where the perpendicular axis crosses it.
Read/write float
.
getCrossAt
in interface IAxis
public void setCrossAt(float value)
Represents the point on the axis where the perpendicular axis crosses it.
Read/write float
.
setCrossAt
in interface IAxis
public int getDisplayUnit()
Specifies the scaling value of the display units for the value axis.
Read/write DisplayUnitType
.
getDisplayUnit
in interface IAxis
public void setDisplayUnit(int value)
Specifies the scaling value of the display units for the value axis.
Read/write DisplayUnitType
.
setDisplayUnit
in interface IAxis
public boolean isAutomaticMaxValue()
Indicates whether the max value is automatically assigned.
Read/write boolean
.
isAutomaticMaxValue
in interface IAxis
public void setAutomaticMaxValue(boolean value)
Indicates whether the max value is automatically assigned.
Read/write boolean
.
setAutomaticMaxValue
in interface IAxis
public double getMaxValue()
Represents the maximum value on the value axis.
Read/write double
.
getMaxValue
in interface IAxis
public void setMaxValue(double value)
Represents the maximum value on the value axis.
Read/write double
.
setMaxValue
in interface IAxis
public double getMinorUnit()
Represents the minor units for the date or value axis.
Read/write double
.
getMinorUnit
in interface IAxis
public void setMinorUnit(double value)
Represents the minor units for the date or value axis.
Read/write double
.
setMinorUnit
in interface IAxis
public boolean isAutomaticMinorUnit()
Indicates whether the minor unit of the axis is automatically assigned.
Read/write boolean
.
isAutomaticMinorUnit
in interface IAxis
public void setAutomaticMinorUnit(boolean value)
Indicates whether the minor unit of the axis is automatically assigned.
Read/write boolean
.
setAutomaticMinorUnit
in interface IAxis
public double getMajorUnit()
Represents the major units for the date or value axis.
Read/write double
.
getMajorUnit
in interface IAxis
public void setMajorUnit(double value)
Represents the major units for the date or value axis.
Read/write double
.
setMajorUnit
in interface IAxis
public boolean isAutomaticMajorUnit()
Indicates whether the major unit of the axis is automatically assigned.
Read/write boolean
.
isAutomaticMajorUnit
in interface IAxis
public void setAutomaticMajorUnit(boolean value)
Indicates whether the major unit of the axis is automatically assigned.
Read/write boolean
.
setAutomaticMajorUnit
in interface IAxis
public boolean isAutomaticMinValue()
Indicates whether the min value is automatically assigned.
Read/write boolean
.
isAutomaticMinValue
in interface IAxis
public void setAutomaticMinValue(boolean value)
Indicates whether the min value is automatically assigned.
Read/write boolean
.
setAutomaticMinValue
in interface IAxis
public double getMinValue()
Represents the minimum value on the value axis.
Read/write double
.
getMinValue
in interface IAxis
public void setMinValue(double value)
Represents the minimum value on the value axis.
Read/write double
.
setMinValue
in interface IAxis
public boolean isLogarithmic()
Represents if the value axis scale type is logarithmic or not.
Read/write boolean
.
isLogarithmic
in interface IAxis
public void setLogarithmic(boolean value)
Represents if the value axis scale type is logarithmic or not.
Read/write boolean
.
setLogarithmic
in interface IAxis
public double getLogBase()
Represents the logarithmic base. Default value is 10.
Read/write double
.
getLogBase
in interface IAxis
public void setLogBase(double value)
Represents the logarithmic base. Default value is 10.
Read/write double
.
setLogBase
in interface IAxis
public boolean isPlotOrderReversed()
Represents if MS PowerPoint plots data points from last to first.
Read/write boolean
.
isPlotOrderReversed
in interface IAxis
public void setPlotOrderReversed(boolean value)
Represents if MS PowerPoint plots data points from last to first.
Read/write boolean
.
setPlotOrderReversed
in interface IAxis
public boolean isVisible()
Represents if the axis is visible.
Read/write boolean
.
isVisible
in interface IAxis
public void setVisible(boolean value)
Represents if the axis is visible.
Read/write boolean
.
setVisible
in interface IAxis
public int getMajorTickMark()
Represents the type of major tick mark for the specified axis.
Read/write TickMarkType
.
getMajorTickMark
in interface IAxis
public void setMajorTickMark(int value)
Represents the type of major tick mark for the specified axis.
Read/write TickMarkType
.
setMajorTickMark
in interface IAxis
public int getMinorTickMark()
Represents the type of minor tick mark for the specified axis.
Read/write TickMarkType
.
getMinorTickMark
in interface IAxis
public void setMinorTickMark(int value)
Represents the type of minor tick mark for the specified axis.
Read/write TickMarkType
.
setMinorTickMark
in interface IAxis
public int getTickLabelPosition()
Represents the position of tick-mark labels on the specified axis.
Read/write TickLabelPositionType
.
getTickLabelPosition
in interface IAxis
public void setTickLabelPosition(int value)
Represents the position of tick-mark labels on the specified axis.
Read/write TickLabelPositionType
.
setTickLabelPosition
in interface IAxis
public int getMajorUnitScale()
Represents the major unit scale for the date axis.
Read/write TimeUnitType
.
getMajorUnitScale
in interface IAxis
public void setMajorUnitScale(int value)
Represents the major unit scale for the date axis.
Read/write TimeUnitType
.
setMajorUnitScale
in interface IAxis
public int getMinorUnitScale()
Represents the major unit scale for the date axis.
Read/write TimeUnitType
.
getMinorUnitScale
in interface IAxis
public void setMinorUnitScale(int value)
Represents the major unit scale for the date axis.
Read/write TimeUnitType
.
setMinorUnitScale
in interface IAxis
public int getBaseUnitScale()
Specifies the smallest time unit that is represented on the date axis.
Read/write TimeUnitType
.
getBaseUnitScale
in interface IAxis
public void setBaseUnitScale(int value)
Specifies the smallest time unit that is represented on the date axis.
Read/write TimeUnitType
.
setBaseUnitScale
in interface IAxis
public IChartLinesFormat getMinorGridLinesFormat()
Represents minor gridlines format on a chart axis.
Read-only IChartLinesFormat
.
getMinorGridLinesFormat
in interface IAxis
public IChartLinesFormat getMajorGridLinesFormat()
Represents major gridlines format on a chart axis.
Read-only IChartLinesFormat
.
getMajorGridLinesFormat
in interface IAxis
public boolean getShowMinorGridLines()
To hide minor gridline set MinorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill.
Read-only boolean
.
getShowMinorGridLines
in interface IAxis
public boolean getShowMajorGridLines()
To hide major gridline set MajorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill.
Read-only boolean
.
getShowMajorGridLines
in interface IAxis
public IAxisFormat getFormat()
Represents format of axis.
Read-only IAxisFormat
.
getFormat
in interface IAxis
public IChartTextFormat getTextFormat()
Represents format of text.
Read-only IChartTextFormat
.
getTextFormat
in interface IFormattedTextContainer
public IChartTitle getTitle()
Gets the axis' title.
Read-only IChartTitle
.
getTitle
in interface IAxis
public int getCrossType()
Represents the CrossType on the specified axis where the other axis crosses.
Read/write CrossesType
.
getCrossType
in interface IAxis
public void setCrossType(int value)
Represents the CrossType on the specified axis where the other axis crosses.
Read/write CrossesType
.
setCrossType
in interface IAxis
public int getPosition()
Represents position of axis.
Read/write AxisPositionType
.
getPosition
in interface IAxis
public void setPosition(int value)
Represents position of axis.
Read/write AxisPositionType
.
setPosition
in interface IAxis
public boolean hasTitle()
Determines whether a axis has a visible title.
Read/write boolean
.
hasTitle
in interface IAxis
public void setTitle(boolean value)
Determines whether a axis has a visible title.
Read/write boolean
.
setTitle
in interface IAxis
public java.lang.String getNumberFormat()
Represents the format string for the Axis Labels.
Read/write String
.
getNumberFormat
in interface IAxis
public void setNumberFormat(java.lang.String value)
Represents the format string for the Axis Labels.
Read/write String
.
setNumberFormat
in interface IAxis
@Deprecated public boolean getSourceLinked()
Indicates whether the format is linked source data.
Read/write boolean
.
@Deprecated public void setSourceLinked(boolean value)
Indicates whether the format is linked source data.
Read/write boolean
.
public boolean isNumberFormatLinkedToSource()
Indicates whether the format is linked source data.
Read/write boolean
.
isNumberFormatLinkedToSource
in interface IAxis
public void setNumberFormatLinkedToSource(boolean value)
Indicates whether the format is linked source data.
Read/write boolean
.
setNumberFormatLinkedToSource
in interface IAxis
@Deprecated public float getRotationAngle()
Represents the rotation angle of tick labels.
Read/write float
.
@Deprecated public void setRotationAngle(float value)
Represents the rotation angle of tick labels.
Read/write float
.
public float getTickLabelRotationAngle()
Represents the rotation angle of tick labels.
Read/write float
.
getTickLabelRotationAngle
in interface IAxis
public void setTickLabelRotationAngle(float value)
Represents the rotation angle of tick labels.
Read/write float
.
setTickLabelRotationAngle
in interface IAxis
public long getTickLabelSpacing()
Specifies how many tick labels to skip between label that is drawn. Applied to category or series axis.
Read/write long
.
getTickLabelSpacing
in interface IAxis
public void setTickLabelSpacing(long value)
Specifies how many tick labels to skip between label that is drawn. Applied to category or series axis.
Read/write long
.
setTickLabelSpacing
in interface IAxis
public boolean isAutomaticTickLabelSpacing()
Specifies automatic tick label spacing value. If false: use TickLabelSpacing property.
Read/write boolean
.
isAutomaticTickLabelSpacing
in interface IAxis
public void setAutomaticTickLabelSpacing(boolean value)
Specifies automatic tick label spacing value. If false: use TickLabelSpacing property.
Read/write boolean
.
setAutomaticTickLabelSpacing
in interface IAxis
public int getLabelOffset()
Specifies the distance of labels from the axis. Applied to category or date axis. Value must be between 0% and 1000%.
Read/write ushort
.
getLabelOffset
in interface IAxis
public void setLabelOffset(int value)
Specifies the distance of labels from the axis. Applied to category or date axis. Value must be between 0% and 1000%.
Read/write ushort
.
setLabelOffset
in interface IAxis
public IBaseSlide getSlide()
Returns the parent slide of a FillFormat.
Read-only BaseSlide
.
getSlide
in interface ISlideComponent
public IPresentation getPresentation()
Returns the parent presentation of a FillFormat.
Read-only IPresentation
.
getPresentation
in interface IPresentationComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |