|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.chart.series.Series<M>
com.sencha.gxt.chart.client.chart.series.MultipleColorSeries<M>
com.sencha.gxt.chart.client.chart.series.AreaSeries<M>
M - the data type used by this seriespublic class AreaSeries<M>
Creates a Stacked Area Chart. The stacked area chart is useful when displaying multiple aggregated layers of information.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
Series.LabelPosition |
| Constructor Summary | |
|---|---|
AreaSeries()
Creates an area Series. |
|
| Method Summary | |
|---|---|
void |
addYField(ValueProvider<M,? extends Number> yField)
Adds a data field for the y axis of the series. |
void |
drawSeries()
Draws the series for the current chart. |
ArrayList<String> |
getLegendTitles()
Returns the list of titles used in the legend of the series. |
ValueProvider<M,? extends Number> |
getYField(int index)
Returns the value provider for the y-axis of the series at the given index. |
List<ValueProvider<M,? extends Number>> |
getYFields()
Returns the list of value providers for the y-axis of the series. |
void |
hide(int yFieldIndex)
Hides the given y field index from the series. |
void |
highlight(int yFieldIndex)
Highlights the series at the given index. |
void |
highlightAll(int index)
Highlights all of the items in the series. |
void |
setLegendTitles(List<String> legendTitles)
Sets the list of labels used by the legend. |
void |
show(int yFieldIndex)
Shows the given y field index from the series. |
void |
unHighlight(int yFieldIndex)
Removes highlighting from the given index. |
void |
unHighlightAll(int index)
UnHighlights all items in the series. |
boolean |
visibleInLegend(int index)
Returns whether or not the given index is visible in legend. |
| Methods inherited from class com.sencha.gxt.chart.client.chart.series.MultipleColorSeries |
|---|
addColor, addColor, getColor, getColors, removeColor, removeColor, setColor |
| Methods inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
addSeriesHandler, addSeriesItemOutHandler, addSeriesItemOverHandler, addSeriesSelectionHandler, calculateBBox, delete, getBBox, getChart, getGutters, getHighlighter, getLabelConfig, getLegendNames, getRenderer, getStroke, getStrokeWidth, getToolTip, getToolTipConfig, getXField, getYAxisPosition, highlightedState, isHighlighting, isShownInLegend, onMouseDown, onMouseMove, onMouseOut, removeToolTip, setChart, setHighlighter, setHighlighting, setLabelConfig, setRenderer, setShownInLegend, setStroke, setStrokeWidth, setToolTipConfig, setXField, setYAxisPosition |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AreaSeries()
Series.
| Method Detail |
|---|
public void addYField(ValueProvider<M,? extends Number> yField)
yField - the value provider for the data on the y axispublic void drawSeries()
Series
drawSeries in class Series<M>public ArrayList<String> getLegendTitles()
Series
getLegendTitles in class Series<M>public ValueProvider<M,? extends Number> getYField(int index)
index - the index of the value provider
public List<ValueProvider<M,? extends Number>> getYFields()
public void hide(int yFieldIndex)
Series
hide in class Series<M>yFieldIndex - the index of the y fieldpublic void highlight(int yFieldIndex)
Series
highlight in class Series<M>yFieldIndex - the index to be highlightedpublic void highlightAll(int index)
Series
highlightAll in class Series<M>index - the index of the seriespublic void setLegendTitles(List<String> legendTitles)
legendTitles - the list of labelspublic void show(int yFieldIndex)
Series
show in class Series<M>yFieldIndex - the index of the y fieldpublic void unHighlight(int yFieldIndex)
Series
unHighlight in class Series<M>yFieldIndex - the index to have its highlighting removedpublic void unHighlightAll(int index)
Series
unHighlightAll in class Series<M>index - the index of the seriespublic boolean visibleInLegend(int index)
Series
visibleInLegend in class Series<M>index - the index to determine visible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||