|
||||||||||
| 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.AbstractPieSeries<M>
com.sencha.gxt.chart.client.chart.series.PieSeries<M>
M - data type used by this seriespublic class PieSeries<M>
Creates a Pie Chart. A Pie Chart is a useful visualization technique to display quantitative information for different categories that also have a meaning as a whole.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
Series.LabelPosition |
| Constructor Summary | |
|---|---|
PieSeries()
Creates a pie series. |
|
| Method Summary | |
|---|---|
void |
addLengthField(ValueProvider<M,? extends Number> lengthField)
Adds a ValueProvider that represents the radius of a pie slice. |
void |
delete()
Removes all the sprites of the series from the surface. |
void |
drawSeries()
Draws the series for the current chart. |
ArrayList<ValueProvider<M,? extends Number>> |
getLengthFields()
Returns the list of value providers that represent the radius of pie slices. |
double |
getPopOutMargin()
Returns the margin that the slices pop out. |
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. |
int |
onMouseMove(PrecisePoint point)
Method used when the series is moused over. |
void |
setPopOutMargin(double popOutMargin)
Sets the margin that the slices pop out. |
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.AbstractPieSeries |
|---|
getAngleField, getDonut, getLegendLabelProvider, getLegendTitles, setAngleField, setDonut, setLegendLabelProvider, setLegendValueProvider |
| 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, getBBox, getChart, getGutters, getHighlighter, getLabelConfig, getLegendNames, getRenderer, getStroke, getStrokeWidth, getToolTip, getToolTipConfig, getXField, getYAxisPosition, highlightedState, isHighlighting, isShownInLegend, onMouseDown, 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 PieSeries()
| Method Detail |
|---|
public void addLengthField(ValueProvider<M,? extends Number> lengthField)
ValueProvider that represents the radius of a pie slice.
lengthField - the value providerpublic void delete()
Series
delete in class Series<M>public void drawSeries()
Series
drawSeries in class Series<M>public ArrayList<ValueProvider<M,? extends Number>> getLengthFields()
public double getPopOutMargin()
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 int onMouseMove(PrecisePoint point)
Series
onMouseMove in class Series<M>point - the point moused over
public void setPopOutMargin(double popOutMargin)
popOutMargin - the margin that the slices pop outpublic 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 | |||||||||