|
||||||||||
| 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>
com.sencha.gxt.chart.client.chart.series.LineSeries<M>
M - the data type used by the seriespublic class LineSeries<M>
Creates a Line Chart. A Line Chart is a useful visualization technique to
display quantitative information for different categories or other real
values (as opposed to the BarSeries), that can show some progression
(or regression) in the data set.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
Series.LabelPosition |
| Constructor Summary | |
|---|---|
LineSeries()
Creates a line Series. |
|
| Method Summary | |
|---|---|
void |
delete()
Removes all the sprites of the series from the surface. |
void |
drawSeries()
Draws the series for the current chart. |
Color |
getFill()
Returns the fill color of the line. |
SeriesRenderer<M> |
getFillRenderer()
Returns the SeriesRenderer used on the fill sprite. |
SeriesRenderer<M> |
getLineRenderer()
Returns the SeriesRenderer used on the line sprite. |
double |
getMarkerIndex()
Returns the marker index of the series. |
int |
getSegments()
Returns the number of segments of the smoothed line. |
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. |
boolean |
isShowMarkers()
Returns whether or not markers are shown. |
boolean |
isSmooth()
Returns whether or not the line is smoothed or straight. |
void |
setFill(Color fill)
Sets the fill color of the line. |
void |
setFillRenderer(SeriesRenderer<M> fillRenderer)
Sets the SeriesRenderer used on the fill sprite. |
void |
setLineRenderer(SeriesRenderer<M> lineRenderer)
Sets the SeriesRenderer used on the line sprite |
void |
setMarkerIndex(double markerIndex)
Sets the marker index. |
void |
setSegments(int segments)
Sets the number of segments of the smoothed line. |
void |
setShowMarkers(boolean showMarkers)
Sets whether or not to show markers. |
void |
setSmooth(boolean smooth)
Sets whether or not the line is smoothed or straight. |
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.ScatterSeries |
|---|
getMarkerConfig, getSelectionTolerance, getTitle, getYField, setLegendTitle, setMarkerConfig, setSelectionTolerance, setYField |
| Methods inherited from class com.sencha.gxt.chart.client.chart.series.Series |
|---|
addSeriesHandler, addSeriesItemOutHandler, addSeriesItemOverHandler, addSeriesSelectionHandler, calculateBBox, 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 LineSeries()
Series.
| Method Detail |
|---|
public void delete()
Series
delete in class Series<M>public void drawSeries()
Series
drawSeries in class ScatterSeries<M>public Color getFill()
public SeriesRenderer<M> getFillRenderer()
SeriesRenderer used on the fill sprite.
public SeriesRenderer<M> getLineRenderer()
SeriesRenderer used on the line sprite.
public double getMarkerIndex()
public int getSegments()
public void hide(int yFieldIndex)
Series
hide in class ScatterSeries<M>yFieldIndex - the index of the y fieldpublic void highlight(int yFieldIndex)
Series
highlight in class ScatterSeries<M>yFieldIndex - the index to be highlightedpublic void highlightAll(int index)
Series
highlightAll in class ScatterSeries<M>index - the index of the seriespublic boolean isShowMarkers()
public boolean isSmooth()
public void setFill(Color fill)
fill - the color of the fillpublic void setFillRenderer(SeriesRenderer<M> fillRenderer)
SeriesRenderer used on the fill sprite.
fillRenderer - the series renderer used on the fill spritepublic void setLineRenderer(SeriesRenderer<M> lineRenderer)
SeriesRenderer used on the line sprite
lineRenderer - the series renderer used on the line spritepublic void setMarkerIndex(double markerIndex)
markerIndex - the marker indexpublic void setSegments(int segments)
setSmooth(boolean).
segments - the number of segments of the smoothed linepublic void setShowMarkers(boolean showMarkers)
showMarkers - whether or not to show markerspublic void setSmooth(boolean smooth)
smooth - true if smoothpublic void show(int yFieldIndex)
Series
show in class ScatterSeries<M>yFieldIndex - the index of the y fieldpublic void unHighlight(int yFieldIndex)
Series
unHighlight in class ScatterSeries<M>yFieldIndex - the index to have its highlighting removedpublic void unHighlightAll(int index)
Series
unHighlightAll in class ScatterSeries<M>index - the index of the seriespublic boolean visibleInLegend(int index)
Series
visibleInLegend in class ScatterSeries<M>index - the index to determine visible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||