private FlightDataType series2;\r
private final FlightDataType time = FlightDataType.TYPE_TIME;\r
private List<FlightEvent> flightEvents;\r
+ private String simulationName;\r
\r
// Define 4 different colors and point styles to use for the series.\r
// For now only 2 series are supported though.\r
private final static PointStyle[] styles = new PointStyle[] { PointStyle.CIRCLE, PointStyle.DIAMOND,\r
PointStyle.TRIANGLE, PointStyle.SQUARE };\r
\r
+ /**\r
+ * @param simulationName the simulationName to set\r
+ */\r
+ public void setSimulationName(String simulationName) {\r
+ this.simulationName = simulationName;\r
+ }\r
+\r
/**\r
* @param flightDataBranch the flightDataBranch to set\r
*/\r
renderer.setYLabels(10);\r
renderer.setShowGrid(true);\r
renderer.setZoomButtonsVisible(true);\r
- renderer.setChartTitle("Simulation");\r
+ renderer.setChartTitle(simulationName);\r
\r
renderer.setMargins(new int[] { 50, 30, 0, 20 });\r
{\r