Documentation of 'org.apache.poi.ss.usermodel.charts.ChartAxis' Java class
ChartAxis
org.apache.poi.ss.usermodel.charts

Interface ChartAxis

    • Method Detail

      • getId

        long getId()
        Returns:
        axis id
      • getPosition

        AxisPosition getPosition()
        Returns:
        axis position
      • setPosition

        void setPosition(AxisPosition position)
        Parameters:
        position - new axis position
      • getNumberFormat

        java.lang.String getNumberFormat()
        Returns:
        axis number format
      • setNumberFormat

        void setNumberFormat(java.lang.String format)
        Parameters:
        format - axis number format
      • isSetLogBase

        boolean isSetLogBase()
        Returns:
        true if log base is defined, false otherwise
      • setLogBase

        void setLogBase(double logBase)
        Parameters:
        logBase - a number between 2 and 1000 (inclusive)
        Throws:
        java.lang.IllegalArgumentException - if log base not within allowed range
      • getLogBase

        double getLogBase()
        Returns:
        axis log base or 0.0 if not set
      • isSetMinimum

        boolean isSetMinimum()
        Returns:
        true if minimum value is defined, false otherwise
      • getMinimum

        double getMinimum()
        Returns:
        axis minimum or 0.0 if not set
      • setMinimum

        void setMinimum(double min)
        Parameters:
        min - axis minimum
      • isSetMaximum

        boolean isSetMaximum()
        Returns:
        true if maximum value is defined, false otherwise
      • getMaximum

        double getMaximum()
        Returns:
        axis maximum or 0.0 if not set
      • setMaximum

        void setMaximum(double max)
        Parameters:
        max - axis maximum
      • getOrientation

        AxisOrientation getOrientation()
        Returns:
        axis orientation
      • setOrientation

        void setOrientation(AxisOrientation orientation)
        Parameters:
        orientation - axis orientation
      • setCrosses

        void setCrosses(AxisCrosses crosses)
        Parameters:
        crosses - axis cross type
      • getCrosses

        AxisCrosses getCrosses()
        Returns:
        axis cross type
      • crossAxis

        void crossAxis(ChartAxis axis)
        Declare this axis cross another axis.
        Parameters:
        axis - that this axis should cross
      • isVisible

        boolean isVisible()
        Returns:
        visibility of the axis.
      • setVisible

        void setVisible(boolean value)
        Parameters:
        value - visibility of the axis.
      • getMajorTickMark

        AxisTickMark getMajorTickMark()
        Returns:
        major tick mark.
      • setMajorTickMark

        void setMajorTickMark(AxisTickMark tickMark)
        Parameters:
        tickMark - major tick mark type.
      • getMinorTickMark

        AxisTickMark getMinorTickMark()
        Returns:
        minor tick mark.
      • setMinorTickMark

        void setMinorTickMark(AxisTickMark tickMark)
        Parameters:
        tickMark - minor tick mark type.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.