|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.sampleApp.util.stats.StatsGenerator
public class StatsGenerator
Constructor Summary | |
---|---|
StatsGenerator(pt.digitalis.log.ILogWrapper logger)
Constructor |
Method Summary | |
---|---|
void |
addSerie(Series serie)
Add a serie to the list |
void |
addSerie(String name,
long[] values)
Add a group of values to the list |
void |
buildChartData(int xCount)
Reads the series and created new chart data. |
void |
createChartAsPNG(String fileName)
Creates a Line Chart and saves it to disk |
void |
exportToExcel(String fileName)
Exports the stats to Excel |
void |
printAsciiChart()
Prints an ascii art chart to the standard output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatsGenerator(pt.digitalis.log.ILogWrapper logger)
logger
- the logger to useMethod Detail |
---|
public void addSerie(Series serie)
serie
- public void addSerie(String name, long[] values)
name
- values
- public void buildChartData(int xCount)
xCount
- the total of X values desired (precision)public void exportToExcel(String fileName)
fileName
- the name of the EXCEL file to export topublic void createChartAsPNG(String fileName)
fileName
- the name of the image file to export topublic void printAsciiChart()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |