|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.achartengine.chart.AbstractChart
org.achartengine.chart.XYChart
org.achartengine.chart.CombinedXYChart
public class CombinedXYChart
The combined XY chart rendering class.
| Field Summary |
|---|
| Fields inherited from class org.achartengine.chart.XYChart |
|---|
mDataset, mRenderer |
| Constructor Summary | |
|---|---|
CombinedXYChart(XYMultipleSeriesDataset dataset,
XYMultipleSeriesRenderer renderer,
java.lang.String[] types)
Builds a new combined XY chart instance. |
|
| Method Summary | |
|---|---|
protected android.graphics.RectF[] |
clickableAreasForPoints(float[] points,
float yAxisValue,
int seriesIndex)
Returns the clickable areas for all passed points |
void |
drawLegendShape(android.graphics.Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
android.graphics.Paint paint)
The graphical representation of the legend shape. |
void |
drawSeries(android.graphics.Canvas canvas,
android.graphics.Paint paint,
float[] points,
SimpleSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex)
The graphical representation of a series. |
protected void |
drawSeries(XYSeries series,
android.graphics.Canvas canvas,
android.graphics.Paint paint,
java.util.List<java.lang.Float> pointsList,
SimpleSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
XYMultipleSeriesRenderer.Orientation or)
|
java.lang.String |
getChartType()
Returns the chart type identifier. |
int |
getLegendShapeWidth(int seriesIndex)
Returns the legend shape width. |
| Methods inherited from class org.achartengine.chart.XYChart |
|---|
draw, drawChartValuesText, drawText, drawXLabels, drawXTextLabels, getCalcRange, getDataset, getDefaultMinimum, getLabel, getPointsChart, getRenderer, getScreenR, getSeriesAndPointForScreenCoordinate, isRenderNullValues, isRenderPoints, setCalcRange, setDatasetRenderer, setScreenR, toRealPoint, toRealPoint, toScreenPoint, toScreenPoint |
| Methods inherited from class org.achartengine.chart.AbstractChart |
|---|
drawBackground, drawLabel, drawLegend, drawPath, getExceed, getLegendSize, isVertical |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CombinedXYChart(XYMultipleSeriesDataset dataset,
XYMultipleSeriesRenderer renderer,
java.lang.String[] types)
dataset - the multiple series datasetrenderer - the multiple series renderertypes - the XY chart types| Method Detail |
|---|
public void drawSeries(android.graphics.Canvas canvas,
android.graphics.Paint paint,
float[] points,
SimpleSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex)
drawSeries in class XYChartcanvas - the canvas to paint topaint - the paint to be used for drawingpoints - the array of points to be used for drawing the seriesseriesRenderer - the series rendereryAxisValue - the minimum value of the y axisseriesIndex - the index of the series currently being drawn
protected android.graphics.RectF[] clickableAreasForPoints(float[] points,
float yAxisValue,
int seriesIndex)
XYChart
clickableAreasForPoints in class XYChartpoints - the array of pointsyAxisValue - the minimum value of the y axisseriesIndex - the index of the series to which the points belong
protected void drawSeries(XYSeries series,
android.graphics.Canvas canvas,
android.graphics.Paint paint,
java.util.List<java.lang.Float> pointsList,
SimpleSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
XYMultipleSeriesRenderer.Orientation or)
drawSeries in class XYChartpublic int getLegendShapeWidth(int seriesIndex)
getLegendShapeWidth in class AbstractChartseriesIndex - the series index
public void drawLegendShape(android.graphics.Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
android.graphics.Paint paint)
drawLegendShape in class AbstractChartcanvas - the canvas to paint torenderer - the series rendererx - the x value of the point the shape should be drawn aty - the y value of the point the shape should be drawn atseriesIndex - the series indexpaint - the paint to be used for drawingpublic java.lang.String getChartType()
getChartType in class XYChart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||