Class DialChart

  extended by org.achartengine.chart.AbstractChart
      extended by org.achartengine.chart.RoundChart
          extended by org.achartengine.chart.DialChart
All Implemented Interfaces:

public class DialChart
extends RoundChart

The dial chart rendering class.

See Also:
Serialized Form

Field Summary
Fields inherited from class org.achartengine.chart.RoundChart
mCenterX, mCenterY, mDataset, NO_VALUE, SHAPE_WIDTH
Constructor Summary
DialChart(CategorySeries dataset, DialRenderer renderer)
          Builds a new dial chart instance.
Method Summary
 void draw( canvas, int x, int y, int width, int height, paint)
          The graphical representation of the dial 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, drawPath, drawString, getExceed, getLabel, getLegendSize, getSeriesAndPointForScreenCoordinate, isNullValue, isVertical
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DialChart(CategorySeries dataset,
                 DialRenderer renderer)
Builds a new dial chart instance.

dataset - the series dataset
renderer - the dial renderer
Method Detail


public void draw( canvas,
                 int x,
                 int y,
                 int width,
                 int height,
The graphical representation of the dial chart.

Specified by:
draw in class AbstractChart
canvas - the canvas to paint to
x - the top left x value of the view to draw to
y - the top left y value of the view to draw to
width - the width of the view to draw to
height - the height of the view to draw to
paint - the paint

Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.