Commit 73c866c9f3275077c1c6f27927483fa11f64df5a

Authored by Benjamin Renard
2 parents 7af10470 8ba66fe1

Merge branch 'MAZ_FIX_9016' into amdadev

js/app/views/PlotComponents/plotFunction/FunctionType.js
@@ -26,7 +26,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', { @@ -26,7 +26,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', {
26 }, 26 },
27 scale: { 27 scale: {
28 name: "scale_abscisse", 28 name: "scale_abscisse",
29 - field: "Scale Abscisse", 29 + field: "X-Axis Scale",
30 values: { 30 values: {
31 log: "logarithmic", 31 log: "logarithmic",
32 linear: "linear", 32 linear: "linear",
@@ -43,7 +43,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', { @@ -43,7 +43,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', {
43 }, 43 },
44 scale_ordonnee: { 44 scale_ordonnee: {
45 name: "scale_ordonnee", 45 name: "scale_ordonnee",
46 - field: "Scale Ordonnée" 46 + field: "Y-Axis Scale"
47 } 47 }
48 }, 48 },
49 49
@@ -60,7 +60,9 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', { @@ -60,7 +60,9 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', {
60 item_type = {}; 60 item_type = {};
61 item_type[key_] = this.plotFunctionItems.type.values.dft; 61 item_type[key_] = this.plotFunctionItems.type.values.dft;
62 item_type[name_] = this.plotFunctionItems.type.labels.dft; 62 item_type[name_] = this.plotFunctionItems.type.labels.dft;
63 - data_function_type.push(item_type); 63 + // Disbale DFT momentarily
  64 + //data_function_type.push(item_type);
  65 +
64 item_type = {}; 66 item_type = {};
65 item_type[key_] = this.plotFunctionItems.type.values.sum; 67 item_type[key_] = this.plotFunctionItems.type.values.sum;
66 item_type[name_] = this.plotFunctionItems.type.labels.sum; 68 item_type[name_] = this.plotFunctionItems.type.labels.sum;
@@ -80,7 +82,8 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', { @@ -80,7 +82,8 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', {
80 const item_inherits = {}; 82 const item_inherits = {};
81 item_inherits[key_] = this.plotFunctionItems.scale.values.inherits; 83 item_inherits[key_] = this.plotFunctionItems.scale.values.inherits;
82 item_inherits[name_] = this.plotFunctionItems.scale.values.inherits; 84 item_inherits[name_] = this.plotFunctionItems.scale.values.inherits;
83 - data_.push(item_inherits); 85 + // Disbale inherits momentarily
  86 + //data_.push(item_inherits);
84 87
85 const item_log = {}; 88 const item_log = {};
86 item_log[key_] = this.plotFunctionItems.scale.values.log; 89 item_log[key_] = this.plotFunctionItems.scale.values.log;
@@ -154,7 +157,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', { @@ -154,7 +157,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', {
154 displayField: name_, 157 displayField: name_,
155 valueField: key_, 158 valueField: key_,
156 editable: false, 159 editable: false,
157 - value: this.plotFunctionItems.scale.values.inherits, 160 + value: this.plotFunctionItems.scale.values.log,
158 name: this.plotFunctionItems.scale.name 161 name: this.plotFunctionItems.scale.name
159 }, 162 },
160 { 163 {
@@ -177,7 +180,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', { @@ -177,7 +180,7 @@ Ext.define('amdaPlotComp.plotFunction.FunctionType', {
177 displayField: name_, 180 displayField: name_,
178 valueField: key_, 181 valueField: key_,
179 editable: false, 182 editable: false,
180 - value: this.plotFunctionItems.scale.values.inherits, 183 + value: this.plotFunctionItems.scale.values.log,
181 name: this.plotFunctionItems.scale_ordonnee.name 184 name: this.plotFunctionItems.scale_ordonnee.name
182 } 185 }
183 ] 186 ]