com.rednels.ofcgwt.client.model.elements
Class StackedBarChart

java.lang.Object
  extended by com.rednels.ofcgwt.client.model.elements.Element
      extended by com.rednels.ofcgwt.client.model.elements.StackedBarChart
All Implemented Interfaces:
JSONizable

public class StackedBarChart
extends Element
implements JSONizable

Class for an OFC stacked bar chart that extends Element

See Also:
Element

Nested Class Summary
static class StackedBarChart.Stack
          Base class for OFC stack bar chart stacks
static class StackedBarChart.StackValue
          Base class for OFC stack bar chart values
 
Constructor Summary
StackedBarChart()
          Creates a new stacked bar chart.
 
Method Summary
 void addStack(java.util.List<StackedBarChart.Stack> stacks)
          Adds the stack.
 void addStack(StackedBarChart.Stack... stacks)
          Adds the stack.
 
Methods inherited from class com.rednels.ofcgwt.client.model.elements.Element
addKeyOnClickListener, addNull, addOnClickListener, buildJSON, getFontSize, getKeyOnClick, getOnClick, getText, getTooltip, getType, getValues, setFontSize, setKeyOnClick, setKeys, setKeys, setKeyToggleOnClick, setOnClick, setText, setTooltip, setValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rednels.ofcgwt.client.model.JSONizable
buildJSON
 

Constructor Detail

StackedBarChart

public StackedBarChart()
Creates a new stacked bar chart.

Method Detail

addStack

public void addStack(java.util.List<StackedBarChart.Stack> stacks)
Adds the stack.

Parameters:
stacks - the stacks

addStack

public void addStack(StackedBarChart.Stack... stacks)
Adds the stack.

Parameters:
stacks - the stacks