Commit 7be58eb61419c9e920d1a9ba0e849836b1596b1b

Authored by Erdogan Furkan
1 parent 28ce2479

Adding normalised density funtion to Density Map. I used this branch so I was ab…

…le to modify the new file, defaultValuesConfig.json
generic_data/defaultValuesConfig.json
... ... @@ -246,6 +246,7 @@
246 246  
247 247 "availableHistogram2DFunctions": [
248 248 { "key": "density", "value": "Density" },
  249 + { "key": "normdensity", "value": "Normalised Density" },
249 250 { "key": "mean", "value": "Mean" },
250 251 { "key": "min", "value": "Minimum" },
251 252 { "key": "max", "value": "Maximum" },
... ...
js/app/views/PlotComponents/PlotHistogram2DSerieForm.js
... ... @@ -22,7 +22,7 @@ Ext.define('amdaPlotComp.PlotHistogram2DSerieForm', {
22 22 },
23 23  
24 24 updateOptions: function(functionType) {
25   - var isDensity = (functionType == 'density');
  25 + var isDensity = (functionType == 'density' || functionType == 'normdensity');
26 26  
27 27 var zParamField = this.getForm().findField('histotype-param');
28 28 zParamField.setVisible(!isDensity)
... ...