|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.hammurapi.metrics.persistent.ChartHelper
public class ChartHelper
Field Summary | |
---|---|
static byte |
FORMAT_JPG
Output JPG. |
static byte |
FORMAT_PNG
Output PNG |
Constructor Summary | |
---|---|
ChartHelper(byte outputFormat,
int width,
int height)
Helper class. |
Method Summary | |
---|---|
void |
output(org.jfree.chart.JFreeChart chart,
java.io.File outputFile)
Outputs chart to file. |
void |
output(org.jfree.chart.JFreeChart chart,
java.io.OutputStream out)
Outputs chart to stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte FORMAT_JPG
public static final byte FORMAT_PNG
Constructor Detail |
---|
public ChartHelper(byte outputFormat, int width, int height)
outputFormat
- FORMAT_JPG or FORMAT_PNG.width
- chart widthheight
- chart heightMethod Detail |
---|
public void output(org.jfree.chart.JFreeChart chart, java.io.File outputFile) throws java.io.IOException
chart
- outputFile
-
java.io.IOException
public void output(org.jfree.chart.JFreeChart chart, java.io.OutputStream out) throws java.io.IOException
chart
- out
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |