|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.renderer.Chart
superclass of all charts provides several methods for charts
Constructor Summary | |
Chart(String title,
String fileName)
creates charts |
Method Summary | |
void |
createChart()
create chart with titles and credit information |
JFreeChart |
getChart()
get chart |
String |
getFileName()
get fileName |
void |
saveChart(int imageWidth,
int imageHeight)
save chart as PNG |
void |
saveChart(int imageWidth,
int imageHeight,
String filename)
save chart as PNG, restore old file name |
void |
setChart(JFreeChart chart)
set chart |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Chart(String title, String fileName)
title
- chart titlefileName
- fileName for chartMethod Detail |
public void createChart()
public void saveChart(int imageWidth, int imageHeight, String filename)
imageWidth
- image widthimageHeight
- image heightfilename
- file namepublic void saveChart(int imageWidth, int imageHeight)
imageWidth
- image widthimageHeight
- image heightpublic JFreeChart getChart()
public void setChart(JFreeChart chart)
chart
- the chartpublic String getFileName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |