Package quadbase.util

Interface IAxisRuler


public interface IAxisRuler
This class is used by users to configure the visibility of X, Y, and S axis rulers shown in a QbChart object. A handle to the ruler for a particular axis can be obtained by calling:
      QbChart.gethXRuler()  - To get the X Axis Ruler
      QbChart.gethYRuler()  - To get the Y Axis Ruler
      gethAxisRuler() defined in ISecondaryChart - To get the S Axis Ruler
 
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks the boolean state of the axis ruler labels.
    boolean
    Returns the boolean state of the Axis Ruler for the particular axis.
    void
    setLabelVisible(boolean value)
    Sets the ruler label visibility.
    void
    setVisible(boolean value)
    Sets the ruler visibility to on or off
  • Method Details

    • isVisible

      boolean isVisible()
      Returns the boolean state of the Axis Ruler for the particular axis. The axis being checked for depends on the IAxisRuler handle being used.
      Returns:
      true if axis ruler is visible
    • setVisible

      void setVisible(boolean value)
      Sets the ruler visibility to on or off
      Parameters:
      value - The boolean state of the axis ruler. True implies visible and false implies hidden
    • isLabelVisible

      boolean isLabelVisible()
      Checks the boolean state of the axis ruler labels. Labels can be turned on or off on the axis ruler.
      Returns:
      true if axis ruler label is visible, false otherwise.
    • setLabelVisible

      void setLabelVisible(boolean value)
      Sets the ruler label visibility. Labels in a ruler can be turned on or off using this method.
      Parameters:
      value - Set it to true for ruler labels to be displayed.