Class AxesTicks

    • Constructor Detail

      • AxesTicks

        public AxesTicks()
    • Method Detail

      • isDisplay

        public boolean isDisplay()
        Gets the display
        Returns:
        display
      • setDisplay

        public void setDisplay​(boolean display)
        Sets the display
        Parameters:
        display - If true, show tick marks.
      • getFontColor

        public String getFontColor()
        Gets the fontColor
        Returns:
        fontColor
      • setFontColor

        public void setFontColor​(String fontColor)
        Sets the fontColor
        Parameters:
        fontColor - Font color for tick labels.
      • getFontFamily

        public String getFontFamily()
        Gets the fontFamily
        Returns:
        fontFamily
      • setFontFamily

        public void setFontFamily​(String fontFamily)
        Sets the fontFamily
        Parameters:
        fontFamily - Font family for the tick labels.
      • getFontSize

        public Number getFontSize()
        Gets the fontSize
        Returns:
        fontSize
      • setFontSize

        public void setFontSize​(Number fontSize)
        Sets the fontSize
        Parameters:
        fontSize - Font size for the tick labels.
      • getFontStyle

        public String getFontStyle()
        Gets the fontStyle
        Returns:
        fontStyle
      • setFontStyle

        public void setFontStyle​(String fontStyle)
        Sets the fontStyle
        Parameters:
        fontStyle - Font style for the tick labels.
      • isReverse

        public boolean isReverse()
        Gets the reverse
        Returns:
        reverse
      • setReverse

        public void setReverse​(boolean reverse)
        Sets the reverse
        Parameters:
        reverse - Reverses order of tick labels.
      • encode

        public String encode()
                      throws IOException
        Write the common ticks options of axes
        Returns:
        options as JSON object
        Throws:
        IOException - If an I/O error occurs