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 TypeMethodDescriptionThis method returns the down bar color.intThis method counts number of seriesint[]This method returns the drop bar series set.This method returns the up bar color.booleanThis method returns whether the border of drop bar is visible.booleanThis method returns whether the drop bar is visible.voidsetBorderVisible(boolean state) This method set whether the border of drop bar is visible.voidsetDownBarColor(Color color) This method set the down bar color.voidsetSeriesSet(int seriesA, int seriesB) This method set the drop bar series set.voidsetUpBarColor(Color color) This method set the up bar color.voidsetVisible(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
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
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 AseriesB- the series index B
-