org.achartengine.chart
Class DialChart

java.lang.Object
  extended by org.achartengine.chart.AbstractChart
      extended by org.achartengine.chart.RoundChart
          extended by org.achartengine.chart.DialChart
All Implemented Interfaces:
java.io.Serializable

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(android.graphics.Canvas canvas, int x, int y, int width, int height, android.graphics.Paint 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

DialChart

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

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

draw

public void draw(android.graphics.Canvas canvas,
                 int x,
                 int y,
                 int width,
                 int height,
                 android.graphics.Paint paint)
The graphical representation of the dial chart.

Specified by:
draw in class AbstractChart
Parameters:
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.