Commit 7be58eb61419c9e920d1a9ba0e849836b1596b1b
1 parent
28ce2479
Exists in
master
and in
28 other branches
Adding normalised density funtion to Density Map. I used this branch so I was ab…
…le to modify the new file, defaultValuesConfig.json
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
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) |
... | ... |