public class ChartUtil

  1. Object
  2. ChartUtil
A utility class for painting a chart onto a Graphics context. This is a low level API. You should use the ChartComponent class instead.

Constructors

public ChartUtil()

Methods

public void paintChart(Graphics g, AbstractChart chart, Rectangle bounds, int absX, int absY)Draws the given chart onto the given graphics

Inherited methods

Constructor details

ChartUtil

public ChartUtil()

Method details

paintChart

public void paintChart(Graphics g, AbstractChart chart, Rectangle bounds, int absX, int absY)
Draws the given chart onto the given graphics

Parameters

g Graphics
the graphics object
chart AbstractChart
the chart object
bounds Rectangle
the bounds in which the chart should be drawn within the graphics
absX int
Not documented.
absY int
Not documented.