com.extjs.gxt.charts.client.model.charts
Class StackedBarChart

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BaseModelData
      extended by com.extjs.gxt.ui.client.data.BaseModel
          extended by com.extjs.gxt.charts.client.model.charts.ChartConfig
              extended by com.extjs.gxt.charts.client.model.charts.StackedBarChart
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable
Direct Known Subclasses:
HorizontalStackedBarChart

public class StackedBarChart
extends ChartConfig

OFC stacked bar chart

See Also:
Serialized Form

Nested Class Summary
static class StackedBarChart.StackValue
          Base class for OFC stack bar chart values
 
Field Summary
 
Fields inherited from interface com.extjs.gxt.ui.client.data.ChangeEventSource
Add, Remove, Update
 
Constructor Summary
StackedBarChart()
          Creates a new stacked bar chart.
 
Method Summary
 void addStack(java.util.List<StackedBarChart.StackValue> stackvalues)
          Adds the stack.
 void addStack(StackedBarChart.StackValue... stacks)
          Adds the stack.
 java.util.List<java.util.ArrayList<StackedBarChart.StackValue>> getStackValues()
          Returns the values.
 
Methods inherited from class com.extjs.gxt.charts.client.model.charts.ChartConfig
addChartListener, addNullValue, getChartListeners, getDataProvider, getFontSize, getModel, getText, getTooltip, getType, getValues, isEnableEvents, removeChartListener, setAnimateOnShow, setEnableEvents, setFontSize, setKeys, setKeys, setModel, setText, setTooltip, setValues
 
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModel
addChangeListener, addChangeListener, notify, remove, removeChangeListener, removeChangeListeners, set, setSilent
 
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData
get, get, getProperties, getPropertyNames, isAllowNestedValues, setAllowNestedValues, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.extjs.gxt.ui.client.data.ModelData
get, getProperties, getPropertyNames
 

Constructor Detail

StackedBarChart

public StackedBarChart()
Creates a new stacked bar chart.

Method Detail

addStack

public void addStack(java.util.List<StackedBarChart.StackValue> stackvalues)
Adds the stack.

Parameters:
stackvalues - a list of stack values

addStack

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

Parameters:
stacks - the stacks

getStackValues

public java.util.List<java.util.ArrayList<StackedBarChart.StackValue>> getStackValues()
Returns the values.

Returns:
the values