|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.faceless.graph2.Series
org.faceless.graph2.GeneralBarSeries
org.faceless.graph2.StackedBarSeries
public class StackedBarSeries
A StackedBarSeries creates a bar graph where the bars are stacked on top of eachother. Typically this series is used to show components of a whole.
| Constructor Summary | |
|---|---|
StackedBarSeries(String name)
Create a new StackedBarSeries |
|
| Method Summary | |
|---|---|
void |
add(BarSeries series)
Add a BarSeries to this set. |
void |
setBarDepth(double depth)
Set the depth of each bar. |
void |
setBarWidth(double width)
Set the width of each bar. |
| Methods inherited from class org.faceless.graph2.GeneralBarSeries |
|---|
addMarker, setBarLabels, setRoundBars, setRoundBars, setStyle |
| Methods inherited from class org.faceless.graph2.Series |
|---|
addBox, addLine, addMarker, outputToSeries, outputToSeriesFunction, setStyle, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StackedBarSeries(String name)
name - the name of the series| Method Detail |
|---|
public void add(BarSeries series)
series - the Series to add to this set. If the Series has already been added, an IllegalArgumentException will be thrown.public void setBarWidth(double width)
GeneralBarSeriesGeneralBarSeries.setBarWidth(double) and GeneralBarSeries.setBarDepth(double) methods control how
much of that square is filled. The default width and depth are both 1,
ie. the whole square is used.
setBarWidth in class GeneralBarSerieswidth - the width of the bar - must be 0 < width <= 1public void setBarDepth(double depth)
GeneralBarSeriesGeneralBarSeries.setBarWidth(double) and GeneralBarSeries.setBarDepth(double) methods control how
much of that square is filled. The default width and depth are both 1,
ie. the whole square is used.
setBarDepth in class GeneralBarSeriesdepth - the depth of the bar - must be 0 < depth <= 1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||