\r
this.xUnit = xUnit;\r
this.yUnit = yUnit;\r
- chart = ChartFactory.createXYLineChart(source.getClass()\r
- .getSimpleName(), // Title\r
+ chart = ChartFactory.createXYLineChart(\r
+ method.substring(0,1).toUpperCase() + method.substring(1), // Title\r
xUnit.toString(), // x-axis Label\r
yUnit.toString(), // y-axis Label\r
dataset,\r
PlotOrientation.VERTICAL, // Plot Orientation\r
- true, // Show Legend\r
+ false, // Show Legend\r
true, // Use tool tips\r
false // Configure chart to generate URLs?\r
);\r