|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.data.BaseModelData
com.extjs.gxt.ui.client.data.BaseModel
com.extjs.gxt.charts.client.model.charts.ChartConfig
com.extjs.gxt.charts.client.model.charts.BarChart
public class BarChart
OFC Bar Chart.
Nested Class Summary | |
---|---|
static class |
BarChart.Bar
|
static class |
BarChart.BarStyle
|
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 | |
---|---|
|
BarChart()
Creates a new bar chart with normal style. |
|
BarChart(BarChart.BarStyle style)
Creates a new bar chart. |
protected |
BarChart(java.lang.String style)
|
Method Summary | |
---|---|
void |
addBars(BarChart.Bar... bars)
Adds the bars. |
void |
addBars(java.util.List<BarChart.Bar> bars)
Adds the bars. |
void |
addValues(java.util.List<java.lang.Number> values)
Adds the values. |
void |
addValues(java.lang.Number... values)
Adds the values. |
java.lang.String |
getColour()
Gets the colour. |
void |
setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff). |
void |
setDataProvider(BarDataProvider dataProvider)
Sets the charts data provider. |
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 |
---|
public BarChart()
public BarChart(BarChart.BarStyle style)
style
- the styleprotected BarChart(java.lang.String style)
Method Detail |
---|
public void addBars(BarChart.Bar... bars)
bars
- the barspublic void addBars(java.util.List<BarChart.Bar> bars)
bars
- the barspublic void addValues(java.util.List<java.lang.Number> values)
values
- the valuespublic void addValues(java.lang.Number... values)
values
- the valuespublic java.lang.String getColour()
public void setColour(java.lang.String colour)
colour
- the new colourpublic void setDataProvider(BarDataProvider dataProvider)
dataProvider
- the data provider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |