diff --git a/js/app/models/PlotObjects/PlotPanelObject.js b/js/app/models/PlotObjects/PlotPanelObject.js index 05570ce..0e881de 100644 --- a/js/app/models/PlotObjects/PlotPanelObject.js +++ b/js/app/models/PlotObjects/PlotPanelObject.js @@ -41,6 +41,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { {name: 'fills-node-state', type: 'int', defaultValue: 2}, //0 : collapsed, 1 : expanded, 2 : not set {name: 'panel-index', type: 'int'}, {name: 'panel-background-color', type: 'string'}, + { name: 'panel-plotareabackground-color', type: 'string' }, {name: 'panel-title-text', type: 'string'}, {name: 'panel-title-color', type: 'string'}, {name: 'panel-title-position', type: 'string'}, @@ -551,6 +552,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { setDefaultValues: function() { this.set('panel-background-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.backgroundColor); + this.set('panel-plotareabackground-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.backgroundColor); this.set('panel-title-text', ''); this.set('panel-title-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.color); this.set('panel-title-position', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.position); @@ -691,6 +693,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { panelValues['panel-index'] = this.get('panel-index'); panelValues['panel-background-color'] = this.get('panel-background-color'); + panelValues['panel-plotareabackground-color'] = this.get('panel-plotareabackground-color'); panelValues['panel-title-text'] = this.get('panel-title-text'); panelValues['panel-title-color'] = this.get('panel-title-color'); panelValues['panel-title-position'] = this.get('panel-title-position'); diff --git a/js/app/views/PlotComponents/PlotPanelForm.js b/js/app/views/PlotComponents/PlotPanelForm.js index 26d718f..b390101 100644 --- a/js/app/views/PlotComponents/PlotPanelForm.js +++ b/js/app/views/PlotComponents/PlotPanelForm.js @@ -142,6 +142,7 @@ Ext.define('amdaPlotComp.PlotPanelForm', { me.crtTree.refresh(); }), this.addColorsPicker('panel-background-color', 'Background Color', amdaPlotObj.PlotObjectConfig.availableColorsNew, 'none'), + this.addColorsPicker('panel-plotareabackground-color', 'Plot Area Background Color', amdaPlotObj.PlotObjectConfig.availableColorsNew, 'none'), this.addStandardFieldSet('Manual Bounds', '', boundsItems), this.addStandardFieldSet('Manual Margins', '', marginItems), this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems), -- libgit2 0.21.2