Class CartesianLinearTicks

    • Constructor Detail

      • CartesianLinearTicks

        public CartesianLinearTicks()
    • Method Detail

      • isBeginAtZero

        public boolean isBeginAtZero()
        Gets the beginAtZero
        Returns:
        beginAtZero
      • setBeginAtZero

        public void setBeginAtZero​(boolean beginAtZero)
        Sets the beginAtZero
        Parameters:
        beginAtZero - if true, scale will include 0 if it is not already included.
      • getMin

        public Number getMin()
        Gets the min
        Returns:
        min
      • setMin

        public void setMin​(Number min)
        Sets the min
        Parameters:
        min - User defined minimum number for the scale, overrides minimum value from data.
      • getMax

        public Number getMax()
        Gets the max
        Returns:
        max
      • setMax

        public void setMax​(Number max)
        Sets the max
        Parameters:
        max - User defined maximum number for the scale, overrides maximum value from data.
      • getMaxTicksLimit

        public Number getMaxTicksLimit()
        Gets the maxTicksLimit
        Returns:
        maxTicksLimit
      • setMaxTicksLimit

        public void setMaxTicksLimit​(Number maxTicksLimit)
        Sets the maxTicksLimit
        Parameters:
        maxTicksLimit - Maximum number of ticks and gridlines to show.
      • getPrecision

        public Number getPrecision()
        If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
        Returns:
        the current precision
      • setPrecision

        public void setPrecision​(Number precision)
        If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
        Parameters:
        precision - User defined precision for the scale.
      • getStepSize

        public Number getStepSize()
        Gets the stepSize
        Returns:
        stepSize
      • setStepSize

        public void setStepSize​(Number stepSize)
        Sets the stepSize
        Parameters:
        stepSize - User defined fixed step size for the scale.
      • getSuggestedMax

        public Number getSuggestedMax()
        Gets the suggestedMax
        Returns:
        suggestedMax
      • setSuggestedMax

        public void setSuggestedMax​(Number suggestedMax)
        Sets the suggestedMax
        Parameters:
        suggestedMax - Adjustment used when calculating the maximum data value.
      • getSuggestedMin

        public Number getSuggestedMin()
        Gets the suggestedMin
        Returns:
        suggestedMin
      • setSuggestedMin

        public void setSuggestedMin​(Number suggestedMin)
        Sets the suggestedMin
        Parameters:
        suggestedMin - Adjustment used when calculating the minimum data value.