Class Axis


  • public class Axis
    extends Object
    Chart axis.
    • Constructor Detail

      • Axis

        public Axis()
    • Method Detail

      • getTicks

        public Ticks getTicks()
        Get the ticks on this chart axis.
        Returns:
        The ticks of the axis.
      • setTicks

        public void setTicks​(Ticks ticks)
        Set the ticks on this chart axis.
        Parameters:
        ticks - The ticks of the axis.
      • isStacked

        public boolean isStacked()
        Determine if this axis is stacked.
        Returns:
        true if this axis is stacked.
      • setStacked

        public void setStacked​(boolean stacked)
        Set if this axis is stacked.
        Parameters:
        stacked - true means the axis is stacked.
      • getScaleLabel

        public ScaleLabel getScaleLabel()
        Get the scale label for this axis.
        Returns:
        The label.
      • setScaleLabel

        public void setScaleLabel​(ScaleLabel scaleLabel)
        Set the scale label for this axis.
        Parameters:
        scaleLabel - The label.
      • getStepSize

        public float getStepSize()
        Get the step size for this axis.
        Returns:
        The step size.
      • setStepSize

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