EspressChart
v 5.5

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
 java.awt.Color getDownBarColor()
          This method returns the down bar color.
 int getSeriesCount()
          This method counts number of series
 int[] getSeriesSet()
          This method returns the drop bar series set.
 java.awt.Color getUpBarColor()
          This method returns the up bar color.
 boolean isBorderVisible()
          This method returns whether the border of drop bar is visible.
 boolean isVisible()
          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 setDownBarColor(java.awt.Color color)
          This method set the down bar color.
 void setSeriesSet(int seriesA, int seriesB)
          This method set the drop bar series set.
 void setUpBarColor(java.awt.Color color)
          This method set the up bar color.
 void setVisible(boolean state)
          This method set whether the drop bar is visible.
 

Method Detail

getSeriesCount

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

isVisible

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

setVisible

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

isBorderVisible

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

setBorderVisible

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

getUpBarColor

public java.awt.Color getUpBarColor()
This method returns the up bar color.
Returns:
the drop bar color

setUpBarColor

public void setUpBarColor(java.awt.Color color)
This method set the up bar color.
Parameters:
color - The new color

getDownBarColor

public java.awt.Color getDownBarColor()
This method returns the down bar color.
Returns:
the drop bar color

setDownBarColor

public void setDownBarColor(java.awt.Color color)
This method set the down bar color.
Parameters:
color - The new color

getSeriesSet

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

setSeriesSet

public 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

EspressChart
v 5.5