From: Bill Kuker Date: Fri, 10 Apr 2009 17:05:15 +0000 (+0000) Subject: Changed to show the series name big, hide legend X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=9b8de9b8ce3785a99f1b66581115e865e06d6bce;p=sw%2Fmotorsim Changed to show the series name big, hide legend --- diff --git a/src/com/billkuker/rocketry/motorsim/visual/Chart.java b/src/com/billkuker/rocketry/motorsim/visual/Chart.java index c4919fb..61fd9cf 100644 --- a/src/com/billkuker/rocketry/motorsim/visual/Chart.java +++ b/src/com/billkuker/rocketry/motorsim/visual/Chart.java @@ -96,13 +96,13 @@ public class Chart extends JPanel { this.xUnit = xUnit; this.yUnit = yUnit; - chart = ChartFactory.createXYLineChart(source.getClass() - .getSimpleName(), // Title + chart = ChartFactory.createXYLineChart( + method.substring(0,1).toUpperCase() + method.substring(1), // Title xUnit.toString(), // x-axis Label yUnit.toString(), // y-axis Label dataset, PlotOrientation.VERTICAL, // Plot Orientation - true, // Show Legend + false, // Show Legend true, // Use tool tips false // Configure chart to generate URLs? );