code: public BufferedImage getBufferedImage(int width, int height) {
  		BufferedImage bi = chart.createBufferedImage(width, height);
  		return bi;
  	}
docs: Get a buffered image of this chart
  @param width The width of the image
  @param height The height of the image
  @return A buffered image of this chart.