public abstract class JFreeChartData<P extends Plot> extends java.lang.Object implements ChartData<P>
| Constructor and Description |
|---|
JFreeChartData() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPNG(java.io.File pngfile)
create a PNG file from the chart
|
void |
createPNG(java.io.OutputStream res)
send a png file to an OutputStream
|
void |
createPNG(java.lang.String pngfile) |
abstract JFreeChart |
getJFreeChart() |
java.lang.String |
getQuantityName() |
java.awt.Dimension |
getSize()
Get the preferred size of the plot
|
void |
setGraphical(boolean val) |
void |
setQuantityName(java.lang.String s) |
void |
setTitle(java.lang.String t) |
void |
writeGraphics(java.awt.Graphics2D g)
create a SVG file from the chart
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeDataSetpublic void createPNG(java.io.OutputStream res)
throws java.io.IOException
ChartDatapublic void createPNG(java.io.File pngfile)
throws java.io.IOException
ChartDatapublic void createPNG(java.lang.String pngfile)
throws java.io.IOException
java.io.IOExceptionpublic void writeGraphics(java.awt.Graphics2D g)
throws java.lang.Exception
ChartDatawriteGraphics in interface ChartData<P extends Plot>java.lang.Exceptionpublic abstract JFreeChart getJFreeChart()
public void setQuantityName(java.lang.String s)
setQuantityName in interface ChartData<P extends Plot>public java.lang.String getQuantityName()
getQuantityName in interface ChartData<P extends Plot>public void setTitle(java.lang.String t)
public java.awt.Dimension getSize()
ChartDatapublic void setGraphical(boolean val)
setGraphical in interface ChartData<P extends Plot>