|
||||||||||
| 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>
M - the data type of the seriespublic abstract class MultipleColorSeries<M>
A series that uses a list of colors.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
Series.LabelPosition |
| Constructor Summary | |
|---|---|
MultipleColorSeries()
|
|
| Method Summary | |
|---|---|
boolean |
addColor(Color color)
Adds a color to the list of colors used in the series. |
void |
addColor(int index,
Color color)
Adds a color to the list of colors used in the series. |
Color |
getColor(int index)
Returns the color at the given index. |
List<Color> |
getColors()
Returns the list of colors used by the series. |
boolean |
removeColor(Color color)
Removes the first occurrence given color. |
Color |
removeColor(int index)
Removes the color at the given index. |
Color |
setColor(int index,
Color color)
Sets the color at the given index. |
| Methods inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
addSeriesHandler, addSeriesItemOutHandler, addSeriesItemOverHandler, addSeriesSelectionHandler, calculateBBox, delete, drawSeries, getBBox, getChart, getGutters, getHighlighter, getLabelConfig, getLegendNames, getLegendTitles, getRenderer, getStroke, getStrokeWidth, getToolTip, getToolTipConfig, getXField, getYAxisPosition, hide, highlight, highlightAll, highlightedState, isHighlighting, isShownInLegend, onMouseDown, onMouseMove, onMouseOut, removeToolTip, setChart, setHighlighter, setHighlighting, setLabelConfig, setRenderer, setShownInLegend, setStroke, setStrokeWidth, setToolTipConfig, setXField, setYAxisPosition, show, unHighlight, unHighlightAll, visibleInLegend |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultipleColorSeries()
| Method Detail |
|---|
public boolean addColor(Color color)
color - the color to add
public void addColor(int index,
Color color)
index - the index to add the colorcolor - the color to be addedpublic Color getColor(int index)
index - the index of the color
public List<Color> getColors()
public boolean removeColor(Color color)
color - the color to be removed
public Color removeColor(int index)
index - the index of the color
public Color setColor(int index,
Color color)
index - the index in the listcolor - the color to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||