From afd10dba1bafe74019a8fdc450f74d1381efb773 Mon Sep 17 00:00:00 2001 From: Furkan Date: Tue, 25 Jun 2024 14:28:49 +0000 Subject: [PATCH] #11242 - Done. --- js/app/models/PlotObjects/PlotPanelObject.js | 7 +++++++ js/app/views/PlotComponents/PlotPanelForm.js | 6 ++++++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/js/app/models/PlotObjects/PlotPanelObject.js b/js/app/models/PlotObjects/PlotPanelObject.js index 6182ccd..cb8bb6f 100644 --- a/js/app/models/PlotObjects/PlotPanelObject.js +++ b/js/app/models/PlotObjects/PlotPanelObject.js @@ -52,6 +52,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { {name: 'panel-title-font-size', type: 'int'}, {name: 'panel-title-font-bold', type: 'boolean'}, {name: 'panel-title-font-italic', type: 'boolean'}, + {name: 'panel-showint-info', type: 'boolean'}, {name: 'panel-plot-type', type: 'string'}, {name: 'panel-font-activated', type: 'boolean'}, {name: 'panel-font-name', type: 'string'}, @@ -571,6 +572,9 @@ Ext.define('amdaPlotObj.PlotPanelObject', { this.set('panel-title-font-bold', false); this.set('panel-title-font-italic', false); + + this.set('panel-showint-info', false); + this.set('panel-font-activated', false); this.set('panel-font-name', amdaDefaultValues.plot.panel.font.name); this.set('panel-font-size', amdaDefaultValues.plot.panel.font.size); @@ -710,6 +714,9 @@ Ext.define('amdaPlotObj.PlotPanelObject', { panelValues['panel-title-font-size'] = this.get('panel-title-font-size'); panelValues['panel-title-font-bold'] = this.get('panel-title-font-bold'); panelValues['panel-title-font-italic'] = this.get('panel-title-font-italic'); + + panelValues['panel-showint-info'] = this.get('panel-showint-info'); + panelValues['panel-plot-type'] = this.get('panel-plot-type'); panelValues['panel-font-activated'] = this.get('panel-font-activated'); panelValues['panel-font-name'] = this.get('panel-font-name'); diff --git a/js/app/views/PlotComponents/PlotPanelForm.js b/js/app/views/PlotComponents/PlotPanelForm.js index f0e599d..2e109cc 100644 --- a/js/app/views/PlotComponents/PlotPanelForm.js +++ b/js/app/views/PlotComponents/PlotPanelForm.js @@ -152,6 +152,12 @@ Ext.define('amdaPlotComp.PlotPanelForm', { this.addStandardFieldSet('Manual Margins', '', marginItems), this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems), this.addStandardFieldSet('Title', '', titleItems), + + this.addStandardCheck('panel-showint-info', 'Show interval number', function(name, value, oldValue) { + me.object.set('panel-showint-info', value); + me.crtTree.refresh(); + }, 'When this option is selected, the number of the interval on the TT/Catalog is shown on plot.'), + this.addStandardFont('panel-font'), this.addStandardFieldSet('Status Bars', '', statusItems), this.addStandardFieldSet('Ticks Bars', '', tickItems) -- libgit2 0.21.2