to.etc.domui.component.dynaima
Class JGraphChartSource
java.lang.Object
to.etc.domui.component.dynaima.JGraphChartSource
- All Implemented Interfaces:
- IBufferedImageSource
public class JGraphChartSource
- extends java.lang.Object
- implements IBufferedImageSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGraphChartSource
public JGraphChartSource()
getMimeType
public java.lang.String getMimeType()
- Description copied from interface:
IBufferedImageSource
- The output format (mime for jpg, gif, png).
- Specified by:
getMimeType
in interface IBufferedImageSource
- Returns:
getImage
public java.awt.image.BufferedImage getImage()
throws java.lang.Exception
- Description copied from interface:
IBufferedImageSource
- Return or create the bufferedImage to output.
- Specified by:
getImage
in interface IBufferedImageSource
- Returns:
-
- Throws:
java.lang.Exception
createGraph
public void createGraph()
throws java.lang.Exception
- Throws:
java.lang.Exception
close
public void close()
createPieChart
public PieCharter createPieChart(int w,
int h,
java.lang.String label)
createAreaChart
public AreaCharter createAreaChart(int w,
int h,
java.lang.String title,
java.lang.String buckettitle,
java.lang.String valuetitle)