|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.Web.JFreeChartHistoryChart
configure JFreeChart to plot CSV table where independent variable is date takes as input the JavaChart, the file to be read, and the properties file It can handle multiple column charts with a single independent variable
| Constructor Summary | |
JFreeChartHistoryChart()
|
|
JFreeChartHistoryChart(JFreeChart chart,
java.lang.String props)
Constructor without filename |
|
JFreeChartHistoryChart(JFreeChart chart,
java.lang.String file,
java.lang.String props)
Constructor |
|
JFreeChartHistoryChart(java.lang.String props)
Constructor with only Properties. |
|
| Method Summary | |
void |
draw(java.lang.String file)
return graph name and trigger drawing |
java.lang.String |
getPlot()
get the plot file name without the suffix "Plot.png" |
static void |
main(java.lang.String[] argv)
Main test program |
void |
plot()
plot |
java.lang.String |
plot(java.lang.String filename)
plot with fileName; |
void |
setBarWidth(int width)
set the width of the bar cluster (0-100) |
void |
setChart(JFreeChart chart)
replace Chart |
void |
setDirectory(java.lang.String directory)
set the directory for writing the plot image |
void |
setFileName(java.lang.String file)
set the CSV filename to be read |
void |
setIndex(int first)
Set the index of the last point in the first series. |
void |
setPlot(java.lang.String plotName)
set the plot file name (without png suffix or directory) |
void |
setPlotType(java.lang.String type)
set the Plot type (should be "line", "area") |
void |
setProps(java.lang.String props)
set Properties file to be read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JFreeChartHistoryChart()
public JFreeChartHistoryChart(JFreeChart chart,
java.lang.String file,
java.lang.String props)
public JFreeChartHistoryChart(JFreeChart chart,
java.lang.String props)
public JFreeChartHistoryChart(java.lang.String props)
| Method Detail |
public void setProps(java.lang.String props)
public void setFileName(java.lang.String file)
public void setDirectory(java.lang.String directory)
public void setChart(JFreeChart chart)
public void setPlot(java.lang.String plotName)
public java.lang.String getPlot()
public void setPlotType(java.lang.String type)
public void setIndex(int first)
public void setBarWidth(int width)
public java.lang.String plot(java.lang.String filename)
public void plot()
public void draw(java.lang.String file)
public static void main(java.lang.String[] argv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||