Add axis labels to charts
[sw/motorsim] / gui / com / billkuker / rocketry / motorsim / visual / GrainPanel.java
index 0e42dd8a6f89fe86a2bed1a12841e041edc323c3..7276a26e53bf4ab90c769dac9df20f54e372d901 100644 (file)
@@ -65,14 +65,14 @@ public class GrainPanel extends JPanel {
                                        SI.MILLIMETER,\r
                                        SI.MILLIMETER.pow(2).asType(Area.class),\r
                                        grain,\r
-                                       "surfaceArea");\r
+                                       "surfaceArea", "Regression", "Area");\r
                        area.setDomain(area.new IntervalDomain(Amount.valueOf(0, SI.MILLIMETER), grain.webThickness()));\r
                        \r
                        volume = new Chart<Length, Volume>(\r
                                        SI.MILLIMETER,\r
                                        SI.MILLIMETER.pow(3).asType(Volume.class),\r
                                        grain,\r
-                                       "volume");\r
+                                       "volume", "Regression", "Volume");\r
                        volume.setDomain(volume.new IntervalDomain(Amount.valueOf(0, SI.MILLIMETER), grain.webThickness()));\r
 \r
                        area.setMaximumSize(new Dimension(200,100));\r