com.aspose.slides
Interface IAxis

All Superinterfaces:
IChartComponent, IFormattedTextContainer, IPresentationComponent, ISlideComponent
All Known Implementing Classes:
Axis

public interface IAxis
extends IFormattedTextContainer

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.
 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.
 int getPosition()
           Represents position of axis.
 boolean getShowMajorGridLines()
           Represents if the major gridlines showed.
 boolean getShowMinorGridLines()
           Represents if the minor gridlines showed.
 int getTickLabelPosition()
           Represents the position of tick-mark labels on the specified axis.
 float getTickLabelRotationAngle()
           Represents the rotation angle of tick labels Read/write float.
 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 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 Read/write float.
 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 interface com.aspose.slides.IFormattedTextContainer
getTextFormat
 
Methods inherited from interface com.aspose.slides.IChartComponent
getChart
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

Method Detail

getAxisBetweenCategories

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.


setAxisBetweenCategories

void setAxisBetweenCategories(boolean value)

Represents if the value axis crosses the category axis between categories. Read/write float.


getCrossAt

float getCrossAt()

Represents the point on the axis where the perpendicular axis crosses it. Read/write float.


setCrossAt

void setCrossAt(float value)

Represents the point on the axis where the perpendicular axis crosses it. Read/write float.


getDisplayUnit

int getDisplayUnit()

Specifies the scaling value of the display units for the value axis. Read/write DisplayUnitType.


setDisplayUnit

void setDisplayUnit(int value)

Specifies the scaling value of the display units for the value axis. Read/write DisplayUnitType.


isAutomaticMaxValue

boolean isAutomaticMaxValue()

Indicates whether the max value is automatically assigned. Read/write boolean.


setAutomaticMaxValue

void setAutomaticMaxValue(boolean value)

Indicates whether the max value is automatically assigned. Read/write boolean.


getMaxValue

double getMaxValue()

Represents the maximum value on the value axis. Read/write double.


setMaxValue

void setMaxValue(double value)

Represents the maximum value on the value axis. Read/write double.


getMinorUnit

double getMinorUnit()

Represents the minor units for the date or value axis. Read/write double.


setMinorUnit

void setMinorUnit(double value)

Represents the minor units for the date or value axis. Read/write double.


isAutomaticMinorUnit

boolean isAutomaticMinorUnit()

Indicates whether the minor unit of the axis is automatically assigned. Read/write boolean.


setAutomaticMinorUnit

void setAutomaticMinorUnit(boolean value)

Indicates whether the minor unit of the axis is automatically assigned. Read/write boolean.


getMajorUnit

double getMajorUnit()

Represents the major units for the date or value axis. Read/write double.


setMajorUnit

void setMajorUnit(double value)

Represents the major units for the date or value axis. Read/write double.


isAutomaticMajorUnit

boolean isAutomaticMajorUnit()

Indicates whether the major unit of the axis is automatically assigned. Read/write boolean.


setAutomaticMajorUnit

void setAutomaticMajorUnit(boolean value)

Indicates whether the major unit of the axis is automatically assigned. Read/write boolean.


isAutomaticMinValue

boolean isAutomaticMinValue()

Indicates whether the min value is automatically assigned. Read/write boolean.


setAutomaticMinValue

void setAutomaticMinValue(boolean value)

Indicates whether the min value is automatically assigned. Read/write boolean.


getMinValue

double getMinValue()

Represents the minimum value on the value axis. Read/write double.


setMinValue

void setMinValue(double value)

Represents the minimum value on the value axis. Read/write double.


isLogarithmic

boolean isLogarithmic()

Represents if the value axis scale type is logarithmic or not. Read/write boolean.


setLogarithmic

void setLogarithmic(boolean value)

Represents if the value axis scale type is logarithmic or not. Read/write boolean.


getLogBase

double getLogBase()

Represents the logarithmic base. Default value is 10. Read/write double.


setLogBase

void setLogBase(double value)

Represents the logarithmic base. Default value is 10. Read/write double.


isPlotOrderReversed

boolean isPlotOrderReversed()

Represents if MS PowerPoint plots data points from last to first. Read/write boolean.


setPlotOrderReversed

void setPlotOrderReversed(boolean value)

Represents if MS PowerPoint plots data points from last to first. Read/write boolean.


isVisible

boolean isVisible()

Represents if the axis is visible. Read/write boolean.


setVisible

void setVisible(boolean value)

Represents if the axis is visible. Read/write boolean.


getMajorTickMark

int getMajorTickMark()

Represents the type of major tick mark for the specified axis. Read/write TickMarkType.


setMajorTickMark

void setMajorTickMark(int value)

Represents the type of major tick mark for the specified axis. Read/write TickMarkType.


getMinorTickMark

int getMinorTickMark()

Represents the type of minor tick mark for the specified axis. Read/write TickMarkType.


setMinorTickMark

void setMinorTickMark(int value)

Represents the type of minor tick mark for the specified axis. Read/write TickMarkType.


getTickLabelPosition

int getTickLabelPosition()

Represents the position of tick-mark labels on the specified axis. Read/write TickLabelPositionType.


setTickLabelPosition

void setTickLabelPosition(int value)

Represents the position of tick-mark labels on the specified axis. Read/write TickLabelPositionType.


getMajorUnitScale

int getMajorUnitScale()

Represents the major unit scale for the date axis. Read/write TimeUnitType.


setMajorUnitScale

void setMajorUnitScale(int value)

Represents the major unit scale for the date axis. Read/write TimeUnitType.


getMinorUnitScale

int getMinorUnitScale()

Represents the major unit scale for the date axis. Read/write TimeUnitType.


setMinorUnitScale

void setMinorUnitScale(int value)

Represents the major unit scale for the date axis. Read/write TimeUnitType.


getBaseUnitScale

int getBaseUnitScale()

Specifies the smallest time unit that is represented on the date axis. Read/write TimeUnitType.


setBaseUnitScale

void setBaseUnitScale(int value)

Specifies the smallest time unit that is represented on the date axis. Read/write TimeUnitType.


getMinorGridLinesFormat

IChartLinesFormat getMinorGridLinesFormat()

Represents minor gridlines format on a chart axis. Read-only IChartLinesFormat.


getMajorGridLinesFormat

IChartLinesFormat getMajorGridLinesFormat()

Represents major gridlines format on a chart axis. Read-only IChartLinesFormat.


getShowMinorGridLines

boolean getShowMinorGridLines()

Represents if the minor gridlines showed. Read-only boolean.


getShowMajorGridLines

boolean getShowMajorGridLines()

Represents if the major gridlines showed. Read-only boolean.


getFormat

IAxisFormat getFormat()

Represents format of axis. Read-only IAxisFormat.


getTitle

IChartTitle getTitle()

Gets the axis' title. Read-only IChartTitle.


getCrossType

int getCrossType()

Represents the CrossType on the specified axis where the other axis crosses. Read/write CrossesType.


setCrossType

void setCrossType(int value)

Represents the CrossType on the specified axis where the other axis crosses. Read/write CrossesType.


getPosition

int getPosition()

Represents position of axis. Read/write AxisPositionType.


setPosition

void setPosition(int value)

Represents position of axis. Read/write AxisPositionType.


hasTitle

boolean hasTitle()

Determines whether a axis has a visible title. Read/write boolean.


setTitle

void setTitle(boolean value)

Determines whether a axis has a visible title. Read/write boolean.


getNumberFormat

java.lang.String getNumberFormat()

Represents the format string for the Axis Labels. Read/write String.


setNumberFormat

void setNumberFormat(java.lang.String value)

Represents the format string for the Axis Labels. Read/write String.


isNumberFormatLinkedToSource

boolean isNumberFormatLinkedToSource()

Indicates whether the format is linked source data. Read/write boolean.


setNumberFormatLinkedToSource

void setNumberFormatLinkedToSource(boolean value)

Indicates whether the format is linked source data. Read/write boolean.


getTickLabelRotationAngle

float getTickLabelRotationAngle()

Represents the rotation angle of tick labels Read/write float.


setTickLabelRotationAngle

void setTickLabelRotationAngle(float value)

Represents the rotation angle of tick labels Read/write float.


getTickLabelSpacing

long getTickLabelSpacing()

Specifies how many tick labels to skip between label that is drawn. Read/write long.


setTickLabelSpacing

void setTickLabelSpacing(long value)

Specifies how many tick labels to skip between label that is drawn. Read/write long.


isAutomaticTickLabelSpacing

boolean isAutomaticTickLabelSpacing()

Specifies automatic tick label spacing value. If false: use TickLabelSpacing property. Read/write boolean.


setAutomaticTickLabelSpacing

void setAutomaticTickLabelSpacing(boolean value)

Specifies automatic tick label spacing value. If false: use TickLabelSpacing property. Read/write boolean.


getLabelOffset

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 int.


setLabelOffset

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 int.


getCategoryAxisType

int getCategoryAxisType()

Specifies the type of the category axis. Read/write CategoryAxisType.


setCategoryAxisType

void setCategoryAxisType(int value)

Specifies the type of the category axis. Read/write CategoryAxisType.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.