com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Axis

    • Method Detail

      • getAxisBetweenCategories

        public final 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.

        Specified by:
        getAxisBetweenCategories in interface IAxis
      • setAxisBetweenCategories

        public final 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.

        Specified by:
        setAxisBetweenCategories in interface IAxis
      • setCategoryAxisTypeAutomatically

        public final void setCategoryAxisTypeAutomatically()

        Sets IAxis.CategoryAxisType property with a value that is automatically determined based on axis data.

        Specified by:
        setCategoryAxisTypeAutomatically in interface IAxis
      • getCrossAt

        public final float getCrossAt()

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

        Specified by:
        getCrossAt in interface IAxis
      • setCrossAt

        public final void setCrossAt(float value)

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

        Specified by:
        setCrossAt in interface IAxis
      • getDisplayUnit

        public final int getDisplayUnit()

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

        Specified by:
        getDisplayUnit in interface IAxis
      • setDisplayUnit

        public final void setDisplayUnit(int value)

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

        Specified by:
        setDisplayUnit in interface IAxis
      • getActualMaxValue

        public final double getActualMaxValue()

        Specifies actual maximum value on the axis. Call method IChart.ValidateChartLayout() previously to get actual value.

        Specified by:
        getActualMaxValue in interface IAxis
      • getActualMinValue

        public final double getActualMinValue()

        Specifies actual minimum value on the axis. Call method IChart.ValidateChartLayout() previously to get actual value.

        Specified by:
        getActualMinValue in interface IAxis
      • getActualMajorUnit

        public final double getActualMajorUnit()

        Specifies actual major unit of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.

        Specified by:
        getActualMajorUnit in interface IAxis
      • getActualMinorUnit

        public final double getActualMinorUnit()

        Specifies actual minor unit of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.

        Specified by:
        getActualMinorUnit in interface IAxis
      • getActualMajorUnitScale

        public final int getActualMajorUnitScale()

        Specifies actual major unit scale of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.

        Specified by:
        getActualMajorUnitScale in interface IAxis
      • getActualMinorUnitScale

        public final int getActualMinorUnitScale()

        Specifies actual minor unit scale of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.

        Specified by:
        getActualMinorUnitScale in interface IAxis
      • isAutomaticMaxValue

        public final boolean isAutomaticMaxValue()

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

        Specified by:
        isAutomaticMaxValue in interface IAxis
      • setAutomaticMaxValue

        public final void setAutomaticMaxValue(boolean value)

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

        Specified by:
        setAutomaticMaxValue in interface IAxis
      • getMaxValue

        public final double getMaxValue()

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

        Specified by:
        getMaxValue in interface IAxis
      • setMaxValue

        public final void setMaxValue(double value)

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

        Specified by:
        setMaxValue in interface IAxis
      • getMinorUnit

        public final double getMinorUnit()

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

        Specified by:
        getMinorUnit in interface IAxis
      • setMinorUnit

        public final void setMinorUnit(double value)

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

        Specified by:
        setMinorUnit in interface IAxis
      • isAutomaticMinorUnit

        public final boolean isAutomaticMinorUnit()

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

        Specified by:
        isAutomaticMinorUnit in interface IAxis
      • setAutomaticMinorUnit

        public final void setAutomaticMinorUnit(boolean value)

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

        Specified by:
        setAutomaticMinorUnit in interface IAxis
      • getMajorUnit

        public final double getMajorUnit()

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

        Specified by:
        getMajorUnit in interface IAxis
      • setMajorUnit

        public final void setMajorUnit(double value)

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

        Specified by:
        setMajorUnit in interface IAxis
      • isAutomaticMajorUnit

        public final boolean isAutomaticMajorUnit()

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

        Specified by:
        isAutomaticMajorUnit in interface IAxis
      • setAutomaticMajorUnit

        public final void setAutomaticMajorUnit(boolean value)

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

        Specified by:
        setAutomaticMajorUnit in interface IAxis
      • isAutomaticMinValue

        public final boolean isAutomaticMinValue()

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

        Specified by:
        isAutomaticMinValue in interface IAxis
      • setAutomaticMinValue

        public final void setAutomaticMinValue(boolean value)

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

        Specified by:
        setAutomaticMinValue in interface IAxis
      • getMinValue

        public final double getMinValue()

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

        Specified by:
        getMinValue in interface IAxis
      • setMinValue

        public final void setMinValue(double value)

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

        Specified by:
        setMinValue in interface IAxis
      • isLogarithmic

        public final boolean isLogarithmic()

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

        Specified by:
        isLogarithmic in interface IAxis
      • setLogarithmic

        public final void setLogarithmic(boolean value)

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

        Specified by:
        setLogarithmic in interface IAxis
      • getLogBase

        public final double getLogBase()

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

        Specified by:
        getLogBase in interface IAxis
      • setLogBase

        public final void setLogBase(double value)

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

        Specified by:
        setLogBase in interface IAxis
      • isPlotOrderReversed

        public final boolean isPlotOrderReversed()

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

        Specified by:
        isPlotOrderReversed in interface IAxis
      • setPlotOrderReversed

        public final void setPlotOrderReversed(boolean value)

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

        Specified by:
        setPlotOrderReversed in interface IAxis
      • isVisible

        public final boolean isVisible()

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

        Specified by:
        isVisible in interface IAxis
      • setVisible

        public final void setVisible(boolean value)

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

        Specified by:
        setVisible in interface IAxis
      • getMajorTickMark

        public final int getMajorTickMark()

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

        Specified by:
        getMajorTickMark in interface IAxis
      • setMajorTickMark

        public final void setMajorTickMark(int value)

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

        Specified by:
        setMajorTickMark in interface IAxis
      • getMinorTickMark

        public final int getMinorTickMark()

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

        Specified by:
        getMinorTickMark in interface IAxis
      • setMinorTickMark

        public final void setMinorTickMark(int value)

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

        Specified by:
        setMinorTickMark in interface IAxis
      • setTickLabelPosition

        public final void setTickLabelPosition(int value)

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

        Specified by:
        setTickLabelPosition in interface IAxis
      • getMajorUnitScale

        public final int getMajorUnitScale()

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

        Specified by:
        getMajorUnitScale in interface IAxis
      • setMajorUnitScale

        public final void setMajorUnitScale(int value)

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

        Specified by:
        setMajorUnitScale in interface IAxis
      • getMinorUnitScale

        public final int getMinorUnitScale()

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

        Specified by:
        getMinorUnitScale in interface IAxis
      • setMinorUnitScale

        public final void setMinorUnitScale(int value)

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

        Specified by:
        setMinorUnitScale in interface IAxis
      • getBaseUnitScale

        public final int getBaseUnitScale()

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

        Specified by:
        getBaseUnitScale in interface IAxis
      • setBaseUnitScale

        public final void setBaseUnitScale(int value)

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

        Specified by:
        setBaseUnitScale in interface IAxis
      • getShowMinorGridLines

        public final boolean getShowMinorGridLines()

        To hide minor gridline set MinorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill. Read-only boolean.

        Specified by:
        getShowMinorGridLines in interface IAxis
      • getShowMajorGridLines

        public final boolean getShowMajorGridLines()

        To hide major gridline set MajorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill. Read-only boolean.

        Specified by:
        getShowMajorGridLines in interface IAxis
      • getCrossType

        public final int getCrossType()

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

        Specified by:
        getCrossType in interface IAxis
      • setCrossType

        public final void setCrossType(int value)

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

        Specified by:
        setCrossType in interface IAxis
      • setPosition

        public final void setPosition(int value)

        Represents position of axis. Read/write AxisPositionType.

        Specified by:
        setPosition in interface IAxis
      • hasTitle

        public final boolean hasTitle()

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

        Specified by:
        hasTitle in interface IAxis
      • setTitle

        public final void setTitle(boolean value)

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

        Specified by:
        setTitle in interface IAxis
      • getNumberFormat

        public final java.lang.String getNumberFormat()

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

        Specified by:
        getNumberFormat in interface IAxis
      • setNumberFormat

        public final void setNumberFormat(java.lang.String value)

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

        Specified by:
        setNumberFormat in interface IAxis
      • isNumberFormatLinkedToSource

        public final boolean isNumberFormatLinkedToSource()

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

        Specified by:
        isNumberFormatLinkedToSource in interface IAxis
      • setNumberFormatLinkedToSource

        public final void setNumberFormatLinkedToSource(boolean value)

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

        Specified by:
        setNumberFormatLinkedToSource in interface IAxis
      • getTickLabelRotationAngle

        public final float getTickLabelRotationAngle()

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

        Specified by:
        getTickLabelRotationAngle in interface IAxis
      • setTickLabelRotationAngle

        public final void setTickLabelRotationAngle(float value)

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

        Specified by:
        setTickLabelRotationAngle in interface IAxis
      • getTickLabelSpacing

        public final long getTickLabelSpacing()

        Specifies how many tick labels to skip between label that is drawn. Applied to category or series axis. Read/write long.

        Specified by:
        getTickLabelSpacing in interface IAxis
      • setTickLabelSpacing

        public final 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.

        Specified by:
        setTickLabelSpacing in interface IAxis
      • isAutomaticTickLabelSpacing

        public final boolean isAutomaticTickLabelSpacing()

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

        Specified by:
        isAutomaticTickLabelSpacing in interface IAxis
      • setAutomaticTickLabelSpacing

        public final void setAutomaticTickLabelSpacing(boolean value)

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

        Specified by:
        setAutomaticTickLabelSpacing in interface IAxis
      • getTickMarksSpacing

        public final long getTickMarksSpacing()

        Specifies how many tick marks shall be skipped before the next one shall be drawn. Applied to category or series axis. Read/write int.

        Specified by:
        getTickMarksSpacing in interface IAxis
      • setTickMarksSpacing

        public final void setTickMarksSpacing(long value)

        Specifies how many tick marks shall be skipped before the next one shall be drawn. Applied to category or series axis. Read/write int.

        Specified by:
        setTickMarksSpacing in interface IAxis
      • isAutomaticTickMarksSpacing

        public final boolean isAutomaticTickMarksSpacing()

        Specifies automatic tick marks spacing value. If false: use TickMarksSpacing property. Read/write boolean.

        Specified by:
        isAutomaticTickMarksSpacing in interface IAxis
      • setAutomaticTickMarksSpacing

        public final void setAutomaticTickMarksSpacing(boolean value)

        Specifies automatic tick marks spacing value. If false: use TickMarksSpacing property. Read/write boolean.

        Specified by:
        setAutomaticTickMarksSpacing in interface IAxis
      • getLabelOffset

        public final 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.

        Specified by:
        getLabelOffset in interface IAxis
      • setLabelOffset

        public final 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.

        Specified by:
        setLabelOffset in interface IAxis
      • getAggregationType

        public final int getAggregationType()

        Represents aggregation type of category axis (binning). Applied to category. Used with Histogram or HistogramPareto series only.

        Specified by:
        getAggregationType in interface IAxis
      • setAggregationType

        public final void setAggregationType(int value)

        Represents aggregation type of category axis (binning). Applied to category. Used with Histogram or HistogramPareto series only.

        Specified by:
        setAggregationType in interface IAxis
      • getBinWidth

        public final double getBinWidth()

        Specifies bin width when AggregationType property value setted to AxisAggregationType.ByBinWidth. Applied to category axes. Used with Histogram or HistogramPareto series only.

        Specified by:
        getBinWidth in interface IAxis
      • setBinWidth

        public final void setBinWidth(double value)

        Specifies bin width when AggregationType property value setted to AxisAggregationType.ByBinWidth. Applied to category axes. Used with Histogram or HistogramPareto series only.

        Specified by:
        setBinWidth in interface IAxis
      • getNumberOfBins

        public final long getNumberOfBins()

        Specifies number of bins when AggregationType property value setted to AxisAggregationType.ByNumberOfBins. Applied to category axes. Used with Histogram or HistogramPareto series only.

        Specified by:
        getNumberOfBins in interface IAxis
      • setNumberOfBins

        public final void setNumberOfBins(long value)

        Specifies number of bins when AggregationType property value setted to AxisAggregationType.ByNumberOfBins. Applied to category axes. Used with Histogram or HistogramPareto series only.

        Specified by:
        setNumberOfBins in interface IAxis
      • isOverflowBin

        public final boolean isOverflowBin()

        Specifies if overflow bin applied. Use IsAutomaticOverflowBin and OverflowBin to adjust overflow bin value.

        Specified by:
        isOverflowBin in interface IAxis
      • setOverflowBin

        public final void setOverflowBin(boolean value)

        Specifies if overflow bin applied. Use IsAutomaticOverflowBin and OverflowBin to adjust overflow bin value.

        Specified by:
        setOverflowBin in interface IAxis
      • isAutomaticOverflowBin

        public final boolean isAutomaticOverflowBin()

        Specifies automatic overflow bin value. If false: use OverflowBin property.

        Specified by:
        isAutomaticOverflowBin in interface IAxis
      • setAutomaticOverflowBin

        public final void setAutomaticOverflowBin(boolean value)

        Specifies automatic overflow bin value. If false: use OverflowBin property.

        Specified by:
        setAutomaticOverflowBin in interface IAxis
      • getOverflowBin

        public final double getOverflowBin()

        Specifies overflow bin custom value. Applied when IsAutomaticOverflowBin property setted to false and IsOverflowBin property equals true.

        Specified by:
        getOverflowBin in interface IAxis
      • setOverflowBin

        public final void setOverflowBin(double value)

        Specifies overflow bin custom value. Applied when IsAutomaticOverflowBin property setted to false and IsOverflowBin property equals true.

        Specified by:
        setOverflowBin in interface IAxis
      • isUnderflowBin

        public final boolean isUnderflowBin()

        Specifies if underflow bin applied. Use IsAutomaticUnderflowBin and UnderflowBin to adjust underflow bin value.

        Specified by:
        isUnderflowBin in interface IAxis
      • setUnderflowBin

        public final void setUnderflowBin(boolean value)

        Specifies if underflow bin applied. Use IsAutomaticUnderflowBin and UnderflowBin to adjust underflow bin value.

        Specified by:
        setUnderflowBin in interface IAxis
      • isAutomaticUnderflowBin

        public final boolean isAutomaticUnderflowBin()

        Specifies automatic underflow bin value. If false: use UnderflowBin property.

        Specified by:
        isAutomaticUnderflowBin in interface IAxis
      • setAutomaticUnderflowBin

        public final void setAutomaticUnderflowBin(boolean value)

        Specifies automatic underflow bin value. If false: use UnderflowBin property.

        Specified by:
        setAutomaticUnderflowBin in interface IAxis
      • getUnderflowBin

        public final double getUnderflowBin()

        Specifies underflow bin custom value. Applied when IsAutomaticUnderflowBin property setted to false and IsUnderflowBin property equals true.

        Specified by:
        getUnderflowBin in interface IAxis
      • setUnderflowBin

        public final void setUnderflowBin(double value)

        Specifies underflow bin custom value. Applied when IsAutomaticUnderflowBin property setted to false and IsUnderflowBin property equals true.

        Specified by:
        setUnderflowBin in interface IAxis