|
||||||||||
| 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.ScatterSeries<M>
M - the data type used by this seriespublic class ScatterSeries<M>
Creates a Scatter Chart. The scatter plot is useful when trying to display more than two variables in the same visualization. These variables can be mapped into x, y coordinates and also to an element's radius/size, color, etc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
Series.LabelPosition |
| Constructor Summary | |
|---|---|
ScatterSeries()
Creates a scatter Series. |
|
| Method Summary | |
|---|---|
void |
drawSeries()
Draws the series for the current chart. |
Sprite |
getMarkerConfig()
Returns the marker configuration. |
double |
getSelectionTolerance()
Returns the selection tolerance of markers. |
String |
getTitle()
Returns the series title used in the legend. |
ValueProvider<M,? extends Number> |
getYField()
Returns the ValueProvider used 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 |
setLegendTitle(String title)
Set the series title used in the legend. |
void |
setMarkerConfig(Sprite markerConfig)
Sets the marker configuration. |
void |
setSelectionTolerance(double selectionTolerance)
Sets the selection tolerance of markers. |
void |
setYField(ValueProvider<M,? extends Number> yField)
Sets the ValueProvider used for the y axis of the series. |
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.Series |
|---|
addSeriesHandler, addSeriesItemOutHandler, addSeriesItemOverHandler, addSeriesSelectionHandler, calculateBBox, delete, getBBox, getChart, getGutters, getHighlighter, getLabelConfig, getLegendNames, getLegendTitles, 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 ScatterSeries()
Series.
| Method Detail |
|---|
public void drawSeries()
Series
drawSeries in class Series<M>public Sprite getMarkerConfig()
public double getSelectionTolerance()
public String getTitle()
public ValueProvider<M,? extends Number> getYField()
ValueProvider used for the y axis of the series.
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 setLegendTitle(String title)
title - the series title used in the legendpublic void setMarkerConfig(Sprite markerConfig)
markerConfig - the marker configurationpublic void setSelectionTolerance(double selectionTolerance)
selectionTolerance - the selection tolerance of markerspublic void setYField(ValueProvider<M,? extends Number> yField)
ValueProvider used for the y axis of the series.
yField - the value providerpublic 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 | |||||||||