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

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.HorizontalBarChart
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable

public class HorizontalBarChart
extends ChartConfig

OFC horizontal bar chart.

See Also:
Serialized Form

Nested Class Summary
static class HorizontalBarChart.Bar
           
 
Field Summary
 
Fields inherited from class com.extjs.gxt.charts.client.model.charts.ChartConfig
dataProvider, model
 
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModel
changeEventSupport
 
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData
allowNestedValues, map
 
Fields inherited from interface com.extjs.gxt.ui.client.data.ChangeEventSource
Add, Remove, Update
 
Constructor Summary
HorizontalBarChart()
          Creates a new horizontal bar chart.
 
Method Summary
 void addBar(java.lang.Number left, java.lang.Number right)
          Adds the bar.
 void addBars(HorizontalBarChart.Bar... values)
          Adds the bars.
 void addBars(java.util.List<HorizontalBarChart.Bar> values)
          Adds the bars.
 void addValues(java.util.List<java.lang.Number> values)
          Adds bars with right side values.
 void addValues(java.lang.Number... values)
          Adds bars with right side values.
 java.lang.String getColour()
          Returns the colour.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff)
 
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, setDataProvider, setEnableEvents, setFontSize, setKeys, setKeys, setModel, setText, setTooltip, setValues
 
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModel
addChangeListener, addChangeListener, fireEvent, fireEvent, isSilent, notify, notifyPropertyChanged, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.extjs.gxt.ui.client.data.ModelData
get, getProperties, getPropertyNames
 

Constructor Detail

HorizontalBarChart

public HorizontalBarChart()
Creates a new horizontal bar chart.

Method Detail

addBar

public void addBar(java.lang.Number left,
                   java.lang.Number right)
Adds the bar.

Parameters:
left - the left
right - the right

addBars

public void addBars(HorizontalBarChart.Bar... values)
Adds the bars.

Parameters:
values - the values

addBars

public void addBars(java.util.List<HorizontalBarChart.Bar> values)
Adds the bars.

Parameters:
values - the values

addValues

public void addValues(java.util.List<java.lang.Number> values)
Adds bars with right side values.

Parameters:
values - the right side values

addValues

public void addValues(java.lang.Number... values)
Adds bars with right side values.

Parameters:
values - the right side values

getColour

public java.lang.String getColour()
Returns the colour.

Returns:
the colour

setColour

public void setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff)

Parameters:
colour - the new colour