Class Ticks


  • public class Ticks
    extends Object
    Class to define the ticks on chart axes.
    • Constructor Detail

      • Ticks

        public Ticks()
    • Method Detail

      • getMin

        public int getMin()
        Get the minimum tick.
        Returns:
        The value.
      • setMin

        public void setMin​(int min)
        Set the minimum tick.
        Parameters:
        min - The value.
      • isDisplay

        public boolean isDisplay()
        Check if ticks should be displayed.
        Returns:
        true if ticks should be displayed.
      • setDisplay

        public void setDisplay​(boolean display)
        Set if ticks should be displayed.
        Parameters:
        display - true if ticks should be displayed.
      • getStepSize

        public float getStepSize()
        Get the tick step size.
        Returns:
        The step size.
      • setStepSize

        public void setStepSize​(float stepSize)
        Set the tick step size.
        Parameters:
        stepSize - The step size.