Package quadbase.util

Interface IDropBarSet


public interface IDropBarSet
This interface is used to modify the properties associated with a drop bar for 2D line Chart with more than 1 series. A handle to an object that implements this interface can be obtained by calling the gethDropBars method defined in QbChart. eg. QbChart chart = new QbChart(...); IDropBarSet dropBar = chart.gethDropBars();
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the down bar color.
    int
    This method counts number of series
    int[]
    This method returns the drop bar series set.
    This method returns the up bar color.
    boolean
    This method returns whether the border of drop bar is visible.
    boolean
    This method returns whether the drop bar is visible.
    void
    setBorderVisible(boolean state)
    This method set whether the border of drop bar is visible.
    void
    This method set the down bar color.
    void
    setSeriesSet(int seriesA, int seriesB)
    This method set the drop bar series set.
    void
    This method set the up bar color.
    void
    setVisible(boolean state)
    This method set whether the drop bar is visible.
  • Method Details

    • getSeriesCount

      int getSeriesCount()
      This method counts number of series
      Returns:
      number of series
    • isVisible

      boolean isVisible()
      This method returns whether the drop bar is visible.
      Returns:
      the state
    • setVisible

      void setVisible(boolean state)
      This method set whether the drop bar is visible.
      Parameters:
      state - The new state
    • isBorderVisible

      boolean isBorderVisible()
      This method returns whether the border of drop bar is visible.
      Returns:
      the state
    • setBorderVisible

      void setBorderVisible(boolean state)
      This method set whether the border of drop bar is visible.
      Parameters:
      state - The new state
    • getUpBarColor

      Color getUpBarColor()
      This method returns the up bar color.
      Returns:
      the drop bar color
    • setUpBarColor

      void setUpBarColor(Color color)
      This method set the up bar color.
      Parameters:
      color - The new color
    • getDownBarColor

      Color getDownBarColor()
      This method returns the down bar color.
      Returns:
      the drop bar color
    • setDownBarColor

      void setDownBarColor(Color color)
      This method set the down bar color.
      Parameters:
      color - The new color
    • getSeriesSet

      int[] getSeriesSet()
      This method returns the drop bar series set.
      Returns:
      the series set indexs
    • setSeriesSet

      void setSeriesSet(int seriesA, int seriesB)
      This method set the drop bar series set.
      Parameters:
      seriesA - the series index A
      seriesB - the series index B