|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.statcvs.renderer.Chart
superclass of all charts provides several methods for charts
Constructor Summary | |
Chart(java.lang.String title,
java.lang.String subTitle,
java.lang.String fileName)
creates charts |
Method Summary | |
void |
createChart()
create chart with titles and credit information |
com.jrefinery.chart.JFreeChart |
getChart()
get chart |
java.lang.String |
getFileName()
get fileName |
void |
saveChart(int imageWidth,
int imageHeight)
save chart as PNG |
void |
saveChart(int imageWidth,
int imageHeight,
java.lang.String fileName)
save chart as PNG, restore old file name |
void |
setChart(com.jrefinery.chart.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(java.lang.String title, java.lang.String subTitle, java.lang.String fileName)
title
- chart titlesubTitle
- chart subTitlefileName
- fileName for chartMethod Detail |
public void createChart()
public void saveChart(int imageWidth, int imageHeight, java.lang.String fileName)
imageWidth
- image widthimageHeight
- image heightfileName
- file namepublic void saveChart(int imageWidth, int imageHeight)
imageWidth
- image widthimageHeight
- image heightpublic com.jrefinery.chart.JFreeChart getChart()
public void setChart(com.jrefinery.chart.JFreeChart chart)
chart
- the chartpublic java.lang.String getFileName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |