From 9b8de9b8ce3785a99f1b66581115e865e06d6bce Mon Sep 17 00:00:00 2001 From: Bill Kuker Date: Fri, 10 Apr 2009 17:05:15 +0000 Subject: [PATCH] Changed to show the series name big, hide legend --- src/com/billkuker/rocketry/motorsim/visual/Chart.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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? ); -- 2.47.2