Commit afd10dba1bafe74019a8fdc450f74d1381efb773
1 parent
4944aec4
Exists in
master
and in
7 other branches
#11242 - Done.
Showing
2 changed files
with
13 additions
and
0 deletions
Show diff stats
js/app/models/PlotObjects/PlotPanelObject.js
@@ -52,6 +52,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | @@ -52,6 +52,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | ||
52 | {name: 'panel-title-font-size', type: 'int'}, | 52 | {name: 'panel-title-font-size', type: 'int'}, |
53 | {name: 'panel-title-font-bold', type: 'boolean'}, | 53 | {name: 'panel-title-font-bold', type: 'boolean'}, |
54 | {name: 'panel-title-font-italic', type: 'boolean'}, | 54 | {name: 'panel-title-font-italic', type: 'boolean'}, |
55 | + {name: 'panel-showint-info', type: 'boolean'}, | ||
55 | {name: 'panel-plot-type', type: 'string'}, | 56 | {name: 'panel-plot-type', type: 'string'}, |
56 | {name: 'panel-font-activated', type: 'boolean'}, | 57 | {name: 'panel-font-activated', type: 'boolean'}, |
57 | {name: 'panel-font-name', type: 'string'}, | 58 | {name: 'panel-font-name', type: 'string'}, |
@@ -571,6 +572,9 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | @@ -571,6 +572,9 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | ||
571 | this.set('panel-title-font-bold', false); | 572 | this.set('panel-title-font-bold', false); |
572 | this.set('panel-title-font-italic', false); | 573 | this.set('panel-title-font-italic', false); |
573 | 574 | ||
575 | + | ||
576 | + this.set('panel-showint-info', false); | ||
577 | + | ||
574 | this.set('panel-font-activated', false); | 578 | this.set('panel-font-activated', false); |
575 | this.set('panel-font-name', amdaDefaultValues.plot.panel.font.name); | 579 | this.set('panel-font-name', amdaDefaultValues.plot.panel.font.name); |
576 | this.set('panel-font-size', amdaDefaultValues.plot.panel.font.size); | 580 | this.set('panel-font-size', amdaDefaultValues.plot.panel.font.size); |
@@ -710,6 +714,9 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | @@ -710,6 +714,9 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | ||
710 | panelValues['panel-title-font-size'] = this.get('panel-title-font-size'); | 714 | panelValues['panel-title-font-size'] = this.get('panel-title-font-size'); |
711 | panelValues['panel-title-font-bold'] = this.get('panel-title-font-bold'); | 715 | panelValues['panel-title-font-bold'] = this.get('panel-title-font-bold'); |
712 | panelValues['panel-title-font-italic'] = this.get('panel-title-font-italic'); | 716 | panelValues['panel-title-font-italic'] = this.get('panel-title-font-italic'); |
717 | + | ||
718 | + panelValues['panel-showint-info'] = this.get('panel-showint-info'); | ||
719 | + | ||
713 | panelValues['panel-plot-type'] = this.get('panel-plot-type'); | 720 | panelValues['panel-plot-type'] = this.get('panel-plot-type'); |
714 | panelValues['panel-font-activated'] = this.get('panel-font-activated'); | 721 | panelValues['panel-font-activated'] = this.get('panel-font-activated'); |
715 | panelValues['panel-font-name'] = this.get('panel-font-name'); | 722 | panelValues['panel-font-name'] = this.get('panel-font-name'); |
js/app/views/PlotComponents/PlotPanelForm.js
@@ -152,6 +152,12 @@ Ext.define('amdaPlotComp.PlotPanelForm', { | @@ -152,6 +152,12 @@ Ext.define('amdaPlotComp.PlotPanelForm', { | ||
152 | this.addStandardFieldSet('Manual Margins', '', marginItems), | 152 | this.addStandardFieldSet('Manual Margins', '', marginItems), |
153 | this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems), | 153 | this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems), |
154 | this.addStandardFieldSet('Title', '', titleItems), | 154 | this.addStandardFieldSet('Title', '', titleItems), |
155 | + | ||
156 | + this.addStandardCheck('panel-showint-info', 'Show interval number', function(name, value, oldValue) { | ||
157 | + me.object.set('panel-showint-info', value); | ||
158 | + me.crtTree.refresh(); | ||
159 | + }, 'When this option is selected, the number of the interval on the TT/Catalog is shown on plot.'), | ||
160 | + | ||
155 | this.addStandardFont('panel-font'), | 161 | this.addStandardFont('panel-font'), |
156 | this.addStandardFieldSet('Status Bars', '', statusItems), | 162 | this.addStandardFieldSet('Status Bars', '', statusItems), |
157 | this.addStandardFieldSet('Ticks Bars', '', tickItems) | 163 | this.addStandardFieldSet('Ticks Bars', '', tickItems) |