diff --git a/src/main/kotlin/application/controller/DataPanelController.kt b/src/main/kotlin/application/controller/DataPanelController.kt index d68433d..3942558 100644 --- a/src/main/kotlin/application/controller/DataPanelController.kt +++ b/src/main/kotlin/application/controller/DataPanelController.kt @@ -102,6 +102,7 @@ class DataPanelController : Initializable, SelectedVesselListener { scatterTrace.setyArray(serieDoubleY) } + config.plotTitle = "" config.setxAxisTitle("Date") config.setyAxisTitle(newValue.first) dataViewer.resetPlot() @@ -115,6 +116,7 @@ class DataPanelController : Initializable, SelectedVesselListener { plotData.allTraces.clear() config.setxAxisTitle("") config.setyAxisTitle("") + config.plotTitle = "" dataViewer.updateConfiguration(config) dataViewer.updatePlot(plotData)