EspressReport 6.6

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

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

java.awt.Color getUpBarColor()
This method returns the up bar color.

Returns:
the drop bar color

setUpBarColor

void setUpBarColor(java.awt.Color color)
This method set the up bar color.

Parameters:
color - The new color

getDownBarColor

java.awt.Color getDownBarColor()
This method returns the down bar color.

Returns:
the drop bar color

setDownBarColor

void setDownBarColor(java.awt.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

EspressReport 6.6