public class DialChart extends RoundChart
autoCalculateCenter, mCenterX, mCenterY, mDataset, NO_VALUE, SHAPE_WIDTH
Constructor and Description |
---|
DialChart(CategorySeries dataset,
DialRenderer renderer)
Builds a new dial chart instance.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint)
The graphical representation of the dial chart.
|
drawLegendShape, drawTitle, getCenterX, getCenterY, getLegendShapeWidth, getRenderer, isAutocalculateCenter, setAutocalculateCenter, setCenterX, setCenterY
drawBackground, drawLabel, drawLegend, drawPath, drawPath, drawString, getExceed, getLabel, getLegendSize, getSeriesAndPointForScreenCoordinate, isNullValue, isVertical
public DialChart(CategorySeries dataset, DialRenderer renderer)
dataset
- the series datasetrenderer
- the dial rendererpublic void draw(Canvas canvas, int x, int y, int width, int height, 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