|
||||||||||
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.RoundChart
org.achartengine.chart.PieChart
public class PieChart
The pie chart rendering class.
Field Summary |
---|
Fields inherited from class org.achartengine.chart.RoundChart |
---|
mCenterX, mCenterY, mDataset, mRenderer, NO_VALUE, SHAPE_WIDTH |
Constructor Summary | |
---|---|
PieChart(CategorySeries dataset,
DefaultRenderer renderer)
Builds a new pie chart instance. |
Method Summary | |
---|---|
void |
draw(android.graphics.Canvas canvas,
int x,
int y,
int width,
int height,
android.graphics.Paint paint)
The graphical representation of the pie chart. |
Methods inherited from class org.achartengine.chart.RoundChart |
---|
drawLegendShape, drawTitle, getCenterX, getCenterY, getLegendShapeWidth, getRenderer, setCenterX, setCenterY |
Methods inherited from class org.achartengine.chart.AbstractChart |
---|
drawBackground, drawLabel, drawLegend, drawPath, getExceed, getLegendSize, getSeriesAndPointForScreenCoordinate, isVertical |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PieChart(CategorySeries dataset, DefaultRenderer renderer)
dataset
- the series datasetrenderer
- the series rendererMethod Detail |
---|
public void draw(android.graphics.Canvas canvas, int x, int y, int width, int height, android.graphics.Paint paint)
draw
in class AbstractChart
canvas
- the canvas to paint tox
- the top left x value of the view to draw toy
- the top left y value of the view to draw towidth
- the width of the view to draw toheight
- the height of the view to draw topaint
- the paint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |