Class ChartAxisOptions


  • public class ChartAxisOptions
    extends java.lang.Object
    • Constructor Detail

      • ChartAxisOptions

        public ChartAxisOptions()
        Represents the options for an axis of a chart. Options can be populated with the setter functions.
    • Method Detail

      • getOrientation

        public java.lang.String getOrientation()
        Returns:
        Orientation of the axis : minMax or maxMin.
      • setOrientation

        public void setOrientation​(java.lang.String orientation)
        Parameters:
        orientation - Orientation of the axis : minMax or maxMin.
      • getMin

        public java.lang.Float getMin()
        Returns:
        Minimum of the axis.
      • setMin

        public void setMin​(java.lang.Float min)
        Parameters:
        min - Minimum of the axis.
      • getMax

        public java.lang.Float getMax()
        Returns:
        Maximum of the axis.
      • setMax

        public void setMax​(java.lang.Float max)
        Parameters:
        max - Maximum of the axis.
      • getDate

        public ChartDateOptions getDate()
        Returns:
        Date options, only for stock charts.
      • setDateOptions

        public void setDateOptions​(ChartDateOptions date)
        Parameters:
        date - Date options, only for stock charts.
      • getTitle

        public java.lang.String getTitle()
        Returns:
        Tittle of the axis.
      • setTitle

        public void setTitle​(java.lang.String title)
        Parameters:
        title - Tittle of the axis.
      • getValues

        public java.lang.Boolean getValues()
        Returns:
        Whether to show or not the values of the axis.
      • setValues

        public void setValues​(java.lang.Boolean values)
        Parameters:
        values - Whether to show or not the values of the axis.
      • getValuesStyle

        public ChartTextStyle getValuesStyle()
        Returns:
        Axis value styles.
      • setValuesStyle

        public void setValuesStyle​(ChartTextStyle valuesStyle)
        Parameters:
        valuesStyle - Axis value styles.
      • getTitleStyle

        public ChartTextStyle getTitleStyle()
        Returns:
        Style options of the title.
      • setTitleStyle

        public void setTitleStyle​(ChartTextStyle titleStyle)
        Parameters:
        titleStyle - Style options of the title.
      • getTitleRotation

        public java.lang.Integer getTitleRotation()
        Returns:
        Title rotation in degrees, clockwise from horizontal axis.
      • setTitleRotation

        public void setTitleRotation​(java.lang.Integer titleRotation)
        Parameters:
        titleRotation - Title rotation in degrees, clockwise from horizontal axis.
      • getMajorGridLines

        public java.lang.Boolean getMajorGridLines()
        Returns:
        Whether to show major grid lines or not.
      • setMajorGridLines

        public void setMajorGridLines​(java.lang.Boolean majorGridLines)
        Parameters:
        majorGridLines - Whether to show major grid lines or not.
      • getMajorUnit

        public java.lang.Float getMajorUnit()
        Returns:
        Automatic when undefined, spacing between major grid lines and axis values.
      • setMajorUnit

        public void setMajorUnit​(java.lang.Float majorUnit)
        Parameters:
        majorUnit - Automatic when undefined, spacing between major grid lines and axis values.
      • getMinorGridLines

        public java.lang.Boolean getMinorGridLines()
        Returns:
        Whether to show minor grid lines or not.
      • setMinorGridLines

        public void setMinorGridLines​(java.lang.Boolean minorGridLines)
        Parameters:
        minorGridLines - Whether to show minor grid lines or not.
      • getMinorUnit

        public java.lang.Float getMinorUnit()
        Returns:
        Automatic when undefined, spacing between minor grid lines.
      • setMinorUnit

        public void setMinorUnit​(java.lang.Float minorUnit)
        Parameters:
        minorUnit - Automatic when undefined, spacing between minor grid lines.
      • getFormatCode

        public java.lang.String getFormatCode()
        Returns:
        Format code for axis data, "General", "Number" ...
      • setFormatCode

        public void setFormatCode​(java.lang.String formatCode)
        Parameters:
        formatCode - Format code for axis data, "General", "Number" ...
      • getJSON

        public com.google.gson.JsonObject getJSON()
        Returns:
        JSONObject with the tags for this element for the Cloud Office Print server.