|
|||||||||
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.LineChart
public class LineChart
OFC line chart
Nested Class Summary | |
---|---|
static class |
LineChart.LineStyle
|
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 | |
---|---|
|
LineChart()
Creates a new line chart with normal style. |
protected |
LineChart(java.lang.String type)
Creates a new line chart. |
Method Summary | |
---|---|
void |
addDots(BaseDot... dots)
Adds the dots. |
void |
addDots(java.util.List<BaseDot> dots)
Adds the dots. |
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()
Returns the colour. |
BaseDot |
getDotStyle()
Returns the dot style. |
LineChart.LineStyle |
getLineStyle()
Returns the line style. |
java.lang.Integer |
getWidth()
Returns the width. |
boolean |
isRightAxis()
Returns true if the line chart should use right Y axis |
void |
setColour(java.lang.String colour)
Sets the colour. |
void |
setDataProvider(LineDataProvider dataProvider)
Sets the charts data provider. |
void |
setDotStyle(BaseDot dotStyle)
Sets the dot style. |
void |
setLineStyle(LineChart.LineStyle lineStyle)
Sets the line style. |
void |
setRightAxis(boolean rightAxis)
Sets the line chart to use the right axis if true, or left if false |
void |
setWidth(java.lang.Integer width)
Sets the width. |
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 LineChart()
protected LineChart(java.lang.String type)
type
- the typeMethod Detail |
---|
public void addDots(BaseDot... dots)
dots
- the dotspublic void addDots(java.util.List<BaseDot> dots)
dots
- the dotspublic 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 setDotStyle(BaseDot dotStyle)
dotStyle
- the new dot stylepublic void setLineStyle(LineChart.LineStyle lineStyle)
lineStyle
- the new line stylepublic BaseDot getDotStyle()
public LineChart.LineStyle getLineStyle()
public boolean isRightAxis()
isRightAxis
in interface HasRightAxis
public java.lang.Integer getWidth()
public void setColour(java.lang.String colour)
colour
- the new colourpublic void setDataProvider(LineDataProvider dataProvider)
dataProvider
- the data providerpublic void setRightAxis(boolean rightAxis)
setRightAxis
in interface HasRightAxis
rightAxis
- true or falsepublic void setWidth(java.lang.Integer width)
width
- the new width
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |