Skip to content
Snippets Groups Projects
Commit d9eeaa0e authored by Tim Molter's avatar Tim Molter
Browse files

example cleanup

parent a9e8edb7
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,7 @@ public class Example10 implements ExampleChart { ...@@ -74,6 +74,7 @@ public class Example10 implements ExampleChart {
Chart chart = new Chart(800, 600); Chart chart = new Chart(800, 600);
// Customize Chart // Customize Chart
chart.setTitle("Example10");
chart.setTitleVisible(false); chart.setTitleVisible(false);
chart.setLegendVisible(false); chart.setLegendVisible(false);
......
...@@ -53,7 +53,7 @@ public class Example3 implements ExampleChart { ...@@ -53,7 +53,7 @@ public class Example3 implements ExampleChart {
} }
// Customize Chart // Customize Chart
chart.setTitle("Sample Chart"); chart.setTitle("Example3");
chart.setXAxisTitle("X"); chart.setXAxisTitle("X");
chart.setYAxisTitle("Y"); chart.setYAxisTitle("Y");
......
...@@ -39,7 +39,7 @@ public class Example6 implements ExampleChart { ...@@ -39,7 +39,7 @@ public class Example6 implements ExampleChart {
Chart chart = new Chart(800, 600); Chart chart = new Chart(800, 600);
// Customize Chart // Customize Chart
chart.setTitle("Sample Chart"); chart.setTitle("Example6");
chart.setXAxisTitle("X"); chart.setXAxisTitle("X");
chart.setYAxisTitle("Y"); chart.setYAxisTitle("Y");
......
...@@ -43,7 +43,7 @@ public class Example7 implements ExampleChart { ...@@ -43,7 +43,7 @@ public class Example7 implements ExampleChart {
// Create Chart // Create Chart
Chart chart = new Chart(800, 600); Chart chart = new Chart(800, 600);
chart.setTitle("Sample Chart"); chart.setTitle("Example7");
chart.setXAxisTitle("X"); chart.setXAxisTitle("X");
chart.setYAxisTitle("Y"); chart.setYAxisTitle("Y");
chart.addSeries("y(x)", xData, yData); chart.addSeries("y(x)", xData, yData);
......
...@@ -71,7 +71,7 @@ public class Example9 implements ExampleChart { ...@@ -71,7 +71,7 @@ public class Example9 implements ExampleChart {
} }
// Customize Chart // Customize Chart
chart.setTitle("Sample Chart with Date X-Axis"); chart.setTitle("Sample Chart Extensive Cusomization");
chart.setXAxisTitle("X"); chart.setXAxisTitle("X");
chart.setYAxisTitle("Y"); chart.setYAxisTitle("Y");
chart.setForegroundColor(ChartColor.getAWTColor(ChartColor.GREY)); chart.setForegroundColor(ChartColor.getAWTColor(ChartColor.GREY));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment