diff --git a/generic_data/defaultValuesConfig.json b/generic_data/defaultValuesConfig.json index 05b1576..6b56b78 100644 --- a/generic_data/defaultValuesConfig.json +++ b/generic_data/defaultValuesConfig.json @@ -246,6 +246,7 @@ "availableHistogram2DFunctions": [ { "key": "density", "value": "Density" }, + { "key": "normdensity", "value": "Normalised Density" }, { "key": "mean", "value": "Mean" }, { "key": "min", "value": "Minimum" }, { "key": "max", "value": "Maximum" }, diff --git a/js/app/views/PlotComponents/PlotHistogram2DSerieForm.js b/js/app/views/PlotComponents/PlotHistogram2DSerieForm.js index a0b9788..d7218e5 100644 --- a/js/app/views/PlotComponents/PlotHistogram2DSerieForm.js +++ b/js/app/views/PlotComponents/PlotHistogram2DSerieForm.js @@ -22,7 +22,7 @@ Ext.define('amdaPlotComp.PlotHistogram2DSerieForm', { }, updateOptions: function(functionType) { - var isDensity = (functionType == 'density'); + var isDensity = (functionType == 'density' || functionType == 'normdensity'); var zParamField = this.getForm().findField('histotype-param'); zParamField.setVisible(!isDensity) -- libgit2 0.21.2