P - Type of Plot objectpublic interface ChartData<P extends Plot>
| 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
|
java.lang.String |
getQuantityName() |
java.awt.Dimension |
getSize()
Get the preferred size of the plot
|
P |
makeDataSet(int i)
make a dataset
|
void |
setGraphical(boolean val) |
void |
setQuantityName(java.lang.String s) |
void |
setTitle(java.lang.String t) |
void |
writeGraphics(java.awt.Graphics2D dest)
create a SVG file from the chart
|
void createPNG(java.io.OutputStream res)
throws java.lang.Exception
res - java.io.IOExceptionjava.lang.Exceptionvoid createPNG(java.io.File pngfile)
throws java.lang.Exception
pngfile - java.io.IOExceptionjava.lang.Exceptionvoid writeGraphics(java.awt.Graphics2D dest)
throws java.lang.Exception
dest - java.lang.Exceptionjava.awt.Dimension getSize()
P makeDataSet(int i) throws java.lang.Exception
i - initial sizejava.lang.Exceptionvoid setQuantityName(java.lang.String s)
java.lang.String getQuantityName()
void setTitle(java.lang.String t)
void setGraphical(boolean val)