|
||||||||
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. |
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 |
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. |
int |
getPosition()
Represents position of axis |
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. |
boolean |
getSourceLinked()
Deprecated. |
IChartTextFormat |
getTextFormat()
|
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. |
void |
hasTitle(boolean value)
|
boolean |
isAutomaticMajorUnit()
Indicates whether the major unit of the axis is automatically assigned. |
void |
isAutomaticMajorUnit(boolean value)
|
boolean |
isAutomaticMaxValue()
Indicates whether the max value is automatically assigned. |
void |
isAutomaticMaxValue(boolean value)
|
boolean |
isAutomaticMinorUnit()
Indicates whether the minor unit of the axis is automatically assigned. |
void |
isAutomaticMinorUnit(boolean value)
|
boolean |
isAutomaticMinValue()
Indicates whether the min value is automatically assigned. |
void |
isAutomaticMinValue(boolean value)
|
boolean |
isAutomaticTickLabelSpacing()
Specifies automatic tick label spacing value. |
void |
isAutomaticTickLabelSpacing(boolean value)
|
boolean |
isLogarithmic()
Represents if the value axis scale type is logarithmic or not. |
void |
isLogarithmic(boolean value)
|
boolean |
isNumberFormatLinkedToSource()
Indicates whether the format is linked source data. |
void |
isNumberFormatLinkedToSource(boolean value)
|
boolean |
isPlotOrderReversed()
Represents if MS PowerPoint plots data points from last to first. |
void |
isPlotOrderReversed(boolean value)
|
boolean |
isVisible()
Represents if the axis is visible. |
void |
isVisible(boolean value)
|
void |
setAxisBetweenCategories(boolean value)
|
void |
setBaseUnitScale(int value)
|
void |
setCrossAt(float value)
|
void |
setCrossType(int value)
|
void |
setDisplayUnit(int value)
|
void |
setLogBase(double value)
|
void |
setMajorTickMark(int value)
|
void |
setMajorUnit(double value)
|
void |
setMajorUnitScale(int value)
|
void |
setMaxValue(double value)
|
void |
setMinorTickMark(int value)
|
void |
setMinorUnit(double value)
|
void |
setMinorUnitScale(int value)
|
void |
setMinValue(double value)
|
void |
setNumberFormat(java.lang.String value)
|
void |
setPosition(int value)
|
void |
setRotationAngle(float value)
Deprecated. |
void |
setSourceLinked(boolean value)
Deprecated. |
void |
setTickLabelPosition(int value)
|
void |
setTickLabelRotationAngle(float value)
|
void |
setTickLabelSpacing(long value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
getAxisBetweenCategories
in interface IAxis
public void setAxisBetweenCategories(boolean value)
setAxisBetweenCategories
in interface IAxis
public float getCrossAt()
Represents the point on the axis where the perpendicular axis crosses it.
getCrossAt
in interface IAxis
public void setCrossAt(float value)
setCrossAt
in interface IAxis
public int getDisplayUnit()
Specifies the scaling value of the display units for the value axis.
getDisplayUnit
in interface IAxis
public void setDisplayUnit(int value)
setDisplayUnit
in interface IAxis
public boolean isAutomaticMaxValue()
Indicates whether the max value is automatically assigned.
isAutomaticMaxValue
in interface IAxis
public void isAutomaticMaxValue(boolean value)
isAutomaticMaxValue
in interface IAxis
public double getMaxValue()
Represents the maximum value on the value axis.
getMaxValue
in interface IAxis
public void setMaxValue(double value)
setMaxValue
in interface IAxis
public double getMinorUnit()
Represents the minor units for the date or value axis.
getMinorUnit
in interface IAxis
public void setMinorUnit(double value)
setMinorUnit
in interface IAxis
public boolean isAutomaticMinorUnit()
Indicates whether the minor unit of the axis is automatically assigned.
isAutomaticMinorUnit
in interface IAxis
public void isAutomaticMinorUnit(boolean value)
isAutomaticMinorUnit
in interface IAxis
public double getMajorUnit()
Represents the major units for the date or value axis.
getMajorUnit
in interface IAxis
public void setMajorUnit(double value)
setMajorUnit
in interface IAxis
public boolean isAutomaticMajorUnit()
Indicates whether the major unit of the axis is automatically assigned.
isAutomaticMajorUnit
in interface IAxis
public void isAutomaticMajorUnit(boolean value)
isAutomaticMajorUnit
in interface IAxis
public boolean isAutomaticMinValue()
Indicates whether the min value is automatically assigned.
isAutomaticMinValue
in interface IAxis
public void isAutomaticMinValue(boolean value)
isAutomaticMinValue
in interface IAxis
public double getMinValue()
Represents the minimum value on the value axis.
getMinValue
in interface IAxis
public void setMinValue(double value)
setMinValue
in interface IAxis
public boolean isLogarithmic()
Represents if the value axis scale type is logarithmic or not.
isLogarithmic
in interface IAxis
public void isLogarithmic(boolean value)
isLogarithmic
in interface IAxis
public double getLogBase()
Represents the logarithmic base. Default value is 10.
getLogBase
in interface IAxis
public void setLogBase(double value)
setLogBase
in interface IAxis
public boolean isPlotOrderReversed()
Represents if MS PowerPoint plots data points from last to first.
isPlotOrderReversed
in interface IAxis
public void isPlotOrderReversed(boolean value)
isPlotOrderReversed
in interface IAxis
public boolean isVisible()
Represents if the axis is visible.
isVisible
in interface IAxis
public void isVisible(boolean value)
isVisible
in interface IAxis
public int getMajorTickMark()
Represents the type of major tick mark for the specified axis.
getMajorTickMark
in interface IAxis
public void setMajorTickMark(int value)
setMajorTickMark
in interface IAxis
public int getMinorTickMark()
Represents the type of minor tick mark for the specified axis.
getMinorTickMark
in interface IAxis
public void setMinorTickMark(int value)
setMinorTickMark
in interface IAxis
public int getTickLabelPosition()
Represents the position of tick-mark labels on the specified axis.
getTickLabelPosition
in interface IAxis
public void setTickLabelPosition(int value)
setTickLabelPosition
in interface IAxis
public int getMajorUnitScale()
Represents the major unit scale for the date axis.
getMajorUnitScale
in interface IAxis
public void setMajorUnitScale(int value)
setMajorUnitScale
in interface IAxis
public int getMinorUnitScale()
Represents the major unit scale for the date axis.
getMinorUnitScale
in interface IAxis
public void setMinorUnitScale(int value)
setMinorUnitScale
in interface IAxis
public int getBaseUnitScale()
Specifies the smallest time unit that is represented on the date axis.
getBaseUnitScale
in interface IAxis
public void setBaseUnitScale(int value)
setBaseUnitScale
in interface IAxis
public IChartLinesFormat getMinorGridLinesFormat()
Represents minor gridlines format on a chart axis.
getMinorGridLinesFormat
in interface IAxis
public IChartLinesFormat getMajorGridLinesFormat()
Represents major gridlines format on a chart axis.
getMajorGridLinesFormat
in interface IAxis
public boolean getShowMinorGridLines()
To hide minor gridline set MinorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill.
getShowMinorGridLines
in interface IAxis
public boolean getShowMajorGridLines()
To hide major gridline set MajorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill.
getShowMajorGridLines
in interface IAxis
public IAxisFormat getFormat()
Represents format of axis
getFormat
in interface IAxis
public IChartTextFormat getTextFormat()
getTextFormat
in interface IFormattedTextContainer
public IChartTitle getTitle()
Gets the axis' title.
getTitle
in interface IAxis
public int getCrossType()
Represents the CrossType on the specified axis where the other axis crosses.
getCrossType
in interface IAxis
public void setCrossType(int value)
setCrossType
in interface IAxis
public int getPosition()
Represents position of axis
getPosition
in interface IAxis
public void setPosition(int value)
setPosition
in interface IAxis
public boolean hasTitle()
Determines whether a axis has a visible title.
Read/write bool
.
hasTitle
in interface IAxis
public void hasTitle(boolean value)
hasTitle
in interface IAxis
public java.lang.String getNumberFormat()
Represents the format string for the Axis Labels.
getNumberFormat
in interface IAxis
public void setNumberFormat(java.lang.String value)
setNumberFormat
in interface IAxis
@Deprecated public boolean getSourceLinked()
Indicates whether the format is linked source data.
@Deprecated public void setSourceLinked(boolean value)
public boolean isNumberFormatLinkedToSource()
Indicates whether the format is linked source data.
isNumberFormatLinkedToSource
in interface IAxis
public void isNumberFormatLinkedToSource(boolean value)
isNumberFormatLinkedToSource
in interface IAxis
@Deprecated public float getRotationAngle()
Represents the rotation angle of tick labels
@Deprecated public void setRotationAngle(float value)
public float getTickLabelRotationAngle()
Represents the rotation angle of tick labels
getTickLabelRotationAngle
in interface IAxis
public void setTickLabelRotationAngle(float value)
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.
getTickLabelSpacing
in interface IAxis
public void setTickLabelSpacing(long value)
setTickLabelSpacing
in interface IAxis
public boolean isAutomaticTickLabelSpacing()
Specifies automatic tick label spacing value. If false: use TickLabelSpacing property.
isAutomaticTickLabelSpacing
in interface IAxis
public void isAutomaticTickLabelSpacing(boolean value)
isAutomaticTickLabelSpacing
in interface IAxis
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |