]> git.gag.com Git - sw/motorsim/commitdiff
Changed to show the series name big, hide legend
authorBill Kuker <bkuker@billkuker.com>
Fri, 10 Apr 2009 17:05:15 +0000 (17:05 +0000)
committerBill Kuker <bkuker@billkuker.com>
Fri, 10 Apr 2009 17:05:15 +0000 (17:05 +0000)
src/com/billkuker/rocketry/motorsim/visual/Chart.java

index c4919fbb6fc785667cfc60232a38277add80d123..61fd9cfe257194fd71df712dd26daca09772d788 100644 (file)
@@ -96,13 +96,13 @@ public class Chart<X extends Quantity, Y extends Quantity> extends JPanel  {
 \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