Blame view

js/app/models/PlotObjects/PlotObjectConfig.js 14.4 KB
437c4dbc   Benjamin Renard   First implementat...
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * Project      : AMDA-NG
 * Name         : PlotObjectConfig.js
 * @class   amdaPlotObj.PlotObjectConfig
 * @extends Ext.data.Model
 * @brief   Plot Request object configuration 
 * @author  Benjamin Renard
 * @version $Id: PlotObjectConfig.js benjamin $
 ******************************************************************************
 *    FT Id     :   Date   : Name - Description
 ******************************************************************************
 *	:           :21/07/2015: BRE  - file creation
 */
0fc6f7a1   Menouard AZIB   Add type combobox...
14
15


437c4dbc   Benjamin Renard   First implementat...
16
17
Ext.define('amdaPlotObj.PlotObjectConfig', {
	singleton: true,
0fc6f7a1   Menouard AZIB   Add type combobox...
18
19
20
21
22

	defaultValues: {
		file: {
			format: 'PNG',
			output: 'INTERACTIVE',
437c4dbc   Benjamin Renard   First implementat...
23
24
			oneFilePerInterval: false
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
25
26
		tree: {
			fullView: false
27b2a53e   Benjamin Renard   Link tab plot to ...
27
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
28
29
30
31
		page: {
			xMargin: 5.,
			yMargin: 5.,
			mode: 'color',
437c4dbc   Benjamin Renard   First implementat...
32
			orientation: 'landscape',
0fc6f7a1   Menouard AZIB   Add type combobox...
33
34
			dimension: 'ISO A4',
			title: {
437c4dbc   Benjamin Renard   First implementat...
35
36
37
38
				position: 'top',
				alignment: ' center',
				color: '#000000'
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
39
40
			font: {
				name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
41
				size: '8'
003ba315   Benjamin Renard   Add Epoch Plot an...
42
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
43
44
45
46
47
48
			layout: {
				type: 'vertical',
				panelHeight: 0.5,
				panelSpacing: 0.,
				expand: false,
				timeAxesLegend: true
437c4dbc   Benjamin Renard   First implementat...
49
			}
abe09878   Benjamin Renard   Add panels and ax...
50
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
51
52
53
54
		panel: {
			plotType: 'timePlot',
			isotropic: false,
			title: {
33ce72a7   Benjamin Renard   Do not show argum...
55
				position: 'top',
abe09878   Benjamin Renard   Add panels and ax...
56
57
58
				alignment: ' center',
				color: '#000000'
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
59
60
			font: {
				name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
61
				size: '8'
abe09878   Benjamin Renard   Add panels and ax...
62
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
63
64
65
66
			backgroundColor: 'none',
			status: {
				position: 'top',
				colorMap: 0
a0bf9157   Benjamin Renard   Add tick plot and...
67
			}
abe09878   Benjamin Renard   Add panels and ax...
68
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
69
70
71
72
73
74
		axis: {
			scale: 'linear',
			tickPosition: 'outwards',
			color: '#000000',
			thickness: '1',
			legend: {
abe09878   Benjamin Renard   Add panels and ax...
75
				color: '#000000',
0fc6f7a1   Menouard AZIB   Add type combobox...
76
77
				font: {
					name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
78
					size: '8'
abe09878   Benjamin Renard   Add panels and ax...
79
80
				}
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
81
82
			timeFormat: 'dd/mm/yy',
			colorMap: '1'
17433635   Benjamin Renard   Add series and sp...
83
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
84
85
86
87
88
89
90
		serie: {
			yAxis: 'y-left',
			resolution: 3000,
			lines: {
				style: 'plain',
				width: 1,
				color: 'auto'
17433635   Benjamin Renard   Add series and sp...
91
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
92
93
94
95
			symbols: {
				type: 'dot',
				size: 3,
				color: 'auto'
003ba315   Benjamin Renard   Add Epoch Plot an...
96
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
97
98
			resamplingMode: 'xparam',
			timetick: {
24b02d83   Benjamin Renard   Add definition of...
99
100
				type: 'auto',
				step: 3600,
0fc6f7a1   Menouard AZIB   Add type combobox...
101
102
103
104
				nbmajor: 5,
				nbminor: 5,
				color: '#FF0000',
				symbols: {
24b02d83   Benjamin Renard   Add definition of...
105
106
107
108
					type: 'full-circle',
					size: 10,
					color: '#FF0000'
				},
0fc6f7a1   Menouard AZIB   Add type combobox...
109
				firstsymbols: {
24b02d83   Benjamin Renard   Add definition of...
110
111
112
113
					type: 'triangle',
					size: 4,
					color: '#00FF00'
				},
0fc6f7a1   Menouard AZIB   Add type combobox...
114
115
				font: {
					name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
116
					size: '8'
24b02d83   Benjamin Renard   Add definition of...
117
				}
e84ed2cf   Benjamin Renard   Add Interval Tick...
118
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
119
			intervaltick: {
e84ed2cf   Benjamin Renard   Add Interval Tick...
120
				mode: 'start-time',
0fc6f7a1   Menouard AZIB   Add type combobox...
121
122
				color: '#FF0000',
				symbols: {
e84ed2cf   Benjamin Renard   Add Interval Tick...
123
124
125
126
					type: 'full-circle',
					size: 10,
					color: '#FF0000'
				},
0fc6f7a1   Menouard AZIB   Add type combobox...
127
128
				font: {
					name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
129
					size: '8'
e84ed2cf   Benjamin Renard   Add Interval Tick...
130
131
				}
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
132
			errorbar: {
e84ed2cf   Benjamin Renard   Add Interval Tick...
133
				type: 'min-max',
0fc6f7a1   Menouard AZIB   Add type combobox...
134
135
136
137
				lines: {
					style: 'plain',
					width: 1,
					color: 'auto'
e84ed2cf   Benjamin Renard   Add Interval Tick...
138
139
				}
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
140
			projection: 'XY',
17433635   Benjamin Renard   Add series and sp...
141
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
142
143
144
		spectro: {
			yAxis: 'y-left',
			resolution: 3000
94abdb37   Benjamin Renard   Add params legend...
145
		},
43947269   Menouard AZIB   I have added json...
146
		sauvaud: {
5b3c2c8a   Hacene SI HADJ MOHAND   ihm for sauvaud plot
147
148
149
			yAxis: 'y-right',
			resolution: 3000
		},
5b1abd71   Erdogan Furkan   7616 - Adding col...
150
		intervals: {
58c42032   Benjamin Renard   Fix
151
			color: "#FF0000"
5b1abd71   Erdogan Furkan   7616 - Adding col...
152
153
		},
		statusbar: {
a8395497   Benjamin Renard   Fix
154
			color: "#FF0000"
5b1abd71   Erdogan Furkan   7616 - Adding col...
155
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
156
157
158
159
		legends: {
			series: {
				type: 'text-only',
				position: 'outside',
94abdb37   Benjamin Renard   Add params legend...
160
				text: {
0fc6f7a1   Menouard AZIB   Add type combobox...
161
					color: '#000000'
94abdb37   Benjamin Renard   Add params legend...
162
163
				},
				border: {
0fc6f7a1   Menouard AZIB   Add type combobox...
164
					color: '#000000'
94abdb37   Benjamin Renard   Add params legend...
165
				},
0fc6f7a1   Menouard AZIB   Add type combobox...
166
167
				intervalinfo: {
					type: 'start-stop'
94abdb37   Benjamin Renard   Add params legend...
168
				},
0fc6f7a1   Menouard AZIB   Add type combobox...
169
170
				font: {
					name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
171
					size: '8'
94abdb37   Benjamin Renard   Add params legend...
172
				}
339866c4   Benjamin Renard   Add text legend d...
173
			},
0fc6f7a1   Menouard AZIB   Add type combobox...
174
175
176
177
178
			text: {
				position: 'left',
				color: '#000000',
				font: {
					name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
179
					size: '8'
339866c4   Benjamin Renard   Add text legend d...
180
				}
94abdb37   Benjamin Renard   Add params legend...
181
			}
829160b3   Benjamin Renard   Add constants def...
182
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
183
184
185
186
187
188
		constants: {
			axisId: 'y-left',
			line: {
				style: 'plain',
				width: 1,
				color: '#000000'
829160b3   Benjamin Renard   Add constants def...
189
			}
a8c54fb9   Benjamin Renard   Add text object p...
190
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
191
192
193
194
195
196
197
198
		textObjs: {
			yAxisId: 'y-left',
			xRelative: true,
			yRelative: true,
			align: 'left',
			color: '#000000',
			font: {
				name: 'sans-serif',
33ce72a7   Benjamin Renard   Do not show argum...
199
				size: '8'
a8c54fb9   Benjamin Renard   Add text object p...
200
			}
dbb7bcbe   Benjamin Renard   Add curves defint...
201
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
202
203
204
205
206
		curves: {
			line: {
				style: 'plain',
				width: 1,
				color: '#000000'
dbb7bcbe   Benjamin Renard   Add curves defint...
207
			}
486cc3c7   Benjamin Renard   Add fill elements...
208
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
209
210
211
212
		fills: {
			type: 'serie-constant',
			greaterColor: 'none',
			lessColor: 'none'
a8da7fc5   Hacene SI HADJ MOHAND   ihm plot ok
213
		},
0fc6f7a1   Menouard AZIB   Add type combobox...
214
215
216
		filtering: {
			level: 1
		}
437c4dbc   Benjamin Renard   First implementat...
217
	},
0fc6f7a1   Menouard AZIB   Add type combobox...
218
219

	getValueByKey: function (dataList, key) {
dbb7bcbe   Benjamin Renard   Add curves defint...
220
221
		var value = '';
		Ext.each(dataList, function (data) {
0fc6f7a1   Menouard AZIB   Add type combobox...
222
			if (data.key == key) {
dbb7bcbe   Benjamin Renard   Add curves defint...
223
224
225
226
227
228
				value = data.value;
				return;
			}
		});
		return value;
	},
0fc6f7a1   Menouard AZIB   Add type combobox...
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376

	availableFileFormats: [
		{ 'key': 'PNG', 'value': 'PNG' },
		{ 'key': 'PDF', 'value': 'PDF' },
		{ 'key': 'PS', 'value': 'PS' },
		{ 'key': 'SVG', 'value': 'SVG' }
	],

	availableFileOutputsForPng: [
		{ 'key': 'INTERACTIVE', 'value': 'screen' },
		{ 'key': 'TGZ', 'value': 'tar+gzip archive' },
		{ 'key': 'ZIP', 'value': 'zip archive' }
	],

	availableFileOutputsForOtherFormats: [
		{ 'key': 'TGZ', 'value': 'tar+gzip archive' },
		{ 'key': 'ZIP', 'value': 'zip archive' }
	],

	availablePageModes: [
		{ 'key': 'color', 'value': 'Color' },
		{ 'key': 'grayscale', 'value': 'Grayscale' }
	],

	availablePageOrientations: [
		{ 'key': 'landscape', 'value': 'Landscape' },
		{ 'key': 'portrait', 'value': 'Portrait' }
	],

	availablePageDimensions: [
		{ 'key': 'ISO A4', 'value': 'ISO A4' },
		{ 'key': 'US letter', 'value': 'US letter' }
	],

	availablePlotTypes: [
		{ 'key': 'timePlot', value: 'Time Plot' },
		{ 'key': 'xyPlot', value: 'Scatter Plot' },
		{ 'key': 'epochPlot', value: 'Epoch Plot' },
		{ 'key': 'instantPlot', value: 'Instant Plot' },
		{ 'key': 'statusPlot', value: 'Status Plot' },
		{ 'key': 'tickPlot', value: 'Tick Plot' }
	],

	availableFontNames: [
		{ 'key': 'sans-serif', 'value': 'sans-serif' },
		{ 'key': 'serif', 'value': 'serif' },
		{ 'key': 'monospace', 'value': 'monospace' },
		{ 'key': 'script', 'value': 'script' }
	],

	availableTitlePositions: [
		{ 'key': 'top', 'value': 'Top' },
		{ 'key': 'bottom', 'value': 'Bottom' }
	],

	availableTitleAlignments: [
		{ 'key': 'center', 'value': 'Center' },
		{ 'key': 'left', 'value': 'Left' },
		{ 'key': 'right', 'value': 'Right' }
	],

	availableAxisScales: [
		{ 'key': 'linear', 'value': 'Linear' },
		{ 'key': 'logarithmic', 'value': 'Logarithmic' }
	],

	availableTicksPositions: [
		{ 'key': 'inwards', 'value': 'Inwards' },
		{ 'key': 'outwards', 'value': 'Outwards' }
	],

	availableTimeAxisFormats: [
		{ 'key': 'dd/mm/yy', 'value': 'dd/mm/yy' },
		{ 'key': 'ddd/yy', 'value': 'ddd/yy' },
		{ 'key': 'DD/MM/YYYY', 'value': 'dd/mm/yyyy' },
		{ 'key': 'yyyy/dd/mm', 'value': 'yyyy/dd/mm' },
		{ 'key': 'yyyy-dd-mm', 'value': 'yyyy-dd-mm' }
	],

	availableYAxes: [
		{ 'key': 'y-left', 'value': 'Left' },
		{ 'key': 'y-right', 'value': 'Right' }
	],

	availableResolutions: [
		{ 'key': 3000, 'value': '3000' },
		{ 'key': 10000, 'value': '10000' },
		{ 'key': 50000, 'value': '50000' },
		{ 'key': 100000, 'value': '100000' }
	],

	availableLinesStyles: [
		{ 'key': 'plain', 'value': 'Plain' },
		{ 'key': 'dot', 'value': 'Dot' },
		{ 'key': 'long-spaced-dot', 'value': 'Long spaced dot' },
		{ 'key': 'long-short-dot', 'value': 'Long short dot' }
	],

	availableSymbolsTypes: [
		{ 'key': 'dot', 'value': 'Dot' },
		{ 'key': 'plus', 'value': 'Plus' },
		{ 'key': 'wildcard', 'value': 'Wildcard' },
		{ 'key': 'circle', 'value': 'Circle' },
		{ 'key': 'crux', 'value': 'Crux' },
		{ 'key': 'square', 'value': 'Square' },
		{ 'key': 'triangle', 'value': 'Triangle' },
		{ 'key': 'crux-in-circle', 'value': 'Crux in circle' },
		{ 'key': 'dot-in-circle', 'value': 'Dot in circle' },
		{ 'key': 'diamond', 'value': 'Diamond' },
		{ 'key': 'star', 'value': 'Star' },
		{ 'key': 'david-star', 'value': 'David star' },
		{ 'key': 'full-square', 'value': 'Full square' },
		{ 'key': 'full-circle', 'value': 'Full circle' },
		{ 'key': 'full-star', 'value': 'Full star' }
	],

	availableColorMaps: [
		{ 'key': '0', 'value': 'Blue Red' },
		{ 'key': '1', 'value': 'Default' },
		{ 'key': '2', 'value': 'Blue Yellow' },
		{ 'key': '3', 'value': 'Grayscale' },
		{ 'key': '4', 'value': 'AMDA Default' },
		{ 'key': '5', 'value': 'GeoWhite' },
		{ 'key': '6', 'value': 'GeoBlack' },
		{ 'key': '7', 'value': 'Violet Yellow' },
		{ 'key': '8', 'value': 'Red Blue 4' }
	],

	availableColors: [
		{ 'key': 'auto', 'color': 'auto', 'value': 'auto' },
		{ 'key': '[0,0,0]', 'color': '#000000', 'value': 'Black' },
		{ 'key': '[0,0,255]', 'color': '#0000ff', 'value': 'Blue' },
		{ 'key': '[255,0,0]', 'color': '#ff0000', 'value': 'Red' },
		{ 'key': '[0,255,255]', 'color': '#00ffff', 'value': 'Cyan' },
		{ 'key': '[255,0,255]', 'color': '#ff00ff', 'value': 'Magenta' },
		{ 'key': '[0,128,0]', 'color': '#008000', 'value': 'Green' },
		{ 'key': '[128,128,128]', 'color': '#808080', 'value': 'Gray' },
		{ 'key': '[0,255,0]', 'color': '#00ff00', 'value': 'Lime' },
		{ 'key': '[128,0,0]', 'color': '#800000', 'value': 'Maroon' },
		{ 'key': '[0,0,128]', 'color': '#000080', 'value': 'Navy' },
		{ 'key': '[128,128,0]', 'color': '#808000', 'value': 'Olive' },
		{ 'key': '[128,0,128]', 'color': '#800080', 'value': 'Purple' },
		{ 'key': '[192,192,192]', 'color': '#c0c0c0', 'value': 'Silver' },
		{ 'key': '[0,128,128]', 'color': '#008080', 'value': 'Teal' },
		{ 'key': '[255,255,0]', 'color': '#ffff00', 'value': 'Yellow' },
		{ 'key': '[0,64,64]', 'color': '#004040', 'value': 'Cyprus' }
	],

7faaee3c   Benjamin Renard   wip
377
	availableColorsNew: [
43947269   Menouard AZIB   I have added json...
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
		"#000000", "#0000ff", "#ff0000", "#00ffff", "#ff00ff", "#008000", "#800000",
		"#000080", "#808000", "#800080", "#c0c0c0", "#008080", "#ffff00", "#004040",
		"#29d8d7", "#6b9842", "#73a9b4", "#1c883d", "#808080", "#4342dd", "#e84130",
		"#dee2e6", "#ced4da", "#adb5bd", "#868e96", "#495057", "#343a40", "#212529",
		"#ffa8a8", "#ff8787", "#ff6b6b", "#fa5252", "#f03e3e", "#e03131", "#c92a2a",
		"#faa2c1", "#f783ac", "#f06595", "#e64980", "#d6336c", "#c2255c", "#a61e4d",
		"#e599f7", "#da77f2", "#cc5de8", "#be4bdb", "#ae3ec9", "#9c36b5", "#862e9c",
		"#b197fc", "#9775fa", "#845ef7", "#7950f2", "#7048e8", "#6741d9", "#5f3dc4",
		"#91a7ff", "#748ffc", "#5c7cfa", "#4c6ef5", "#4263eb", "#3b5bdb", "#364fc7",
		"#74c0fc", "#4dabf7", "#339af0", "#228be6", "#1c7ed6", "#1971c2", "#1864ab",
		"#66d9e8", "#3bc9db", "#22b8cf", "#15aabf", "#1098ad", "#0c8599", "#0b7285",
		"#63e6be", "#38d9a9", "#20c997", "#12b886", "#0ca678", "#099268", "#087f5b",
		"#8ce99a", "#69db7c", "#51cf66", "#40c057", "#37b24d", "#2f9e44", "#2b8a3e",
		"#c0eb75", "#a9e34b", "#94d82d", "#82c91e", "#74b816", "#66a80f", "#5c940d",
		"#ffe066", "#ffd43b", "#fcc419", "#fab005", "#f59f00", "#f08c00", "#e67700",
		"#ffc078", "#ffa94d", "#ff922b", "#fd7e14", "#f76707", "#e8590c", "#d9480f"
7faaee3c   Benjamin Renard   wip
394
395
	],

0fc6f7a1   Menouard AZIB   Add type combobox...
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
	availableBackgroundColors: [
		{ 'color': 'none', 'value': 'None' },
		{ 'key': '[0,0,0]', 'color': '#000000', 'value': 'Black' },
		{ 'key': '[0,0,255]', 'color': '#0000FF', 'value': 'Blue' },
		{ 'key': '[255,0,0]', 'color': '#FF0000', 'value': 'Red' },
		{ 'key': '[0,255,255]', 'color': '#00FFFF', 'value': 'Cyan' },
		{ 'key': '[255,0,255]', 'color': '#FF00FF', 'value': 'Magenta' },
		{ 'key': '[0,128,0]', 'color': '#008000', 'value': 'Green' },
		{ 'key': '[128,128,128]', 'color': '#808080', 'value': 'Gray' },
		{ 'key': '[0,255,0]', 'color': '#00FF00', 'value': 'Lime' },
		{ 'key': '[128,0,0]', 'color': '#800000', 'value': 'Maroon' },
		{ 'key': '[0,0,128]', 'color': '#000080', 'value': 'Navy' },
		{ 'key': '[128,128,0]', 'color': '#808000', 'value': 'Olive' },
		{ 'key': '[128,0,128]', 'color': '#800080', 'value': 'Purple' },
		{ 'key': '[192,192,192]', 'color': '#C0C0C0', 'value': 'Silver' },
		{ 'key': '[0,128,128]', 'color': '#008080', 'value': 'Teal' },
		{ 'key': '[255,255,0]', 'color': '#FFFF00', 'value': 'Yellow' },
		{ 'key': '[0,64,64]', 'color': '#004040', 'value': 'Cyprus' }
	],

	availableStatusBarPositions: [
		{ 'key': 'top', 'value': 'Top' },
		{ 'key': 'bottom', 'value': 'Bottom' }
	],

	availableStatusBarColorMaps: [
		{ 'key': '0', 'value': '0' },
		{ 'key': '1', 'value': '1' },
		{ 'key': '2', 'value': '2' }
	],

	availablePageLayouts: [
		{ 'key': 'vertical', 'value': 'Vertical' },
		{ 'key': 'auto', 'value': 'Auto' },
		{ 'key': 'manual', 'value': 'Manual' }
	],

	availableResamplingModes: [
		{ 'key': 'xparam', 'value': 'X Parameter' },
		{ 'key': 'yparam', 'value': 'Y Parameter' }
	],

	availableOrbitSerieProjections: [
		{ 'key': 'XY', 'value': 'XY' },
		{ 'key': 'XZ', 'value': 'XZ' },
		{ 'key': 'YZ', 'value': 'YZ' },
		{ 'key': 'XR', 'value': 'XR' },
		{ 'key': 'YR', 'value': 'YR' },
		{ 'key': 'ZR', 'value': 'ZR' }
	],

	availableDimsOnXAxis: [
		{ 'key': '0', 'value': 'First dimension' },
		{ 'key': '1', 'value': 'Second dimension' }
	],

	availableTimeTickTypes: [
		{ 'key': 'auto', 'value': 'Auto' },
		{ 'key': 'time-step', 'value': 'Time step' },
		{ 'key': 'nb-major', 'value': 'Num. of major symb.' }
	],

	availableIntervalTickModes: [
		{ 'key': 'symbol-only', 'value': 'Symbol only' },
		{ 'key': 'interval-index', 'value': 'Interval index' },
		{ 'key': 'start-time', 'value': 'Start time' },
		{ 'key': 'start-stop-time', 'value': 'Start/Stop times' }
	],

	availableErrorBarTypes: [
		{ 'key': 'min-max', 'value': 'Min./Max. Parameters' },
		{ 'key': 'delta', 'value': 'Delta parameter' }
	],

	availableLegendSeriesTypes: [
		{ 'key': 'text-line-symbol', 'value': 'Text, Line & Symbols' },
		{ 'key': 'text-only', 'value': 'Text only' }
	],

	availableLegendSeriesPositions: [
		{ 'key': 'inside', 'value': 'Inside' },
		{ 'key': 'outside', 'value': 'Outside' }
	],

	availableLegendSeriesIntervalInfoTypes: [
		{ 'key': 'index', 'value': 'Interval Index' },
		{ 'key': 'start-stop', 'value': 'Interval Start/Stop' }
	],

	availableLegendTextPositions: [
		{ 'key': 'right', 'value': 'Right' },
		{ 'key': 'left', 'value': 'Left' },
		{ 'key': 'top', 'value': 'Top' },
		{ 'key': 'bottom', 'value': 'Bottom' }
	],

	availableConstantAxes: [
		{ 'key': 'x', 'value': 'X / Time / Epoch' },
		{ 'key': 'y-left', 'value': 'Y Left' },
		{ 'key': 'y-right', 'value': 'Y Right' }
	],

	availableTextAlignments: [
		{ 'key': 'left', 'value': 'Left' },
		{ 'key': 'center', 'value': 'Center' },
		{ 'key': 'right', 'value': 'Right' }
	],

	availableFillTypes: [
		{ 'key': 'serie-constant', 'value': 'Serie / Constant' },
		{ 'key': 'serie-serie', 'value': 'Serie / Serie' }
	],
	availableSpectroNormalization: [
		{ 'key': 'none', 'value': 'None' },
		{ 'key': 'linear', 'value': 'Linear' },
		{ 'key': 'log', 'value': 'Logarithmic' }
	],

	availableFilteringLevel: [
		{ 'key': 1, 'value': 'Weak' },
		{ 'key': 2, 'value': 'Intermediate/moderated' },
		{ 'key': 3, 'value': 'Strong' }
	],

4dbd97ec   Menouard AZIB   Goal is reached b...
520
521
522
	fieldComboBox: {
		key: 'key',
		value: 'value'
0fc6f7a1   Menouard AZIB   Add type combobox...
523
524
525
	},

	bgSubstraction: {
4dbd97ec   Menouard AZIB   Goal is reached b...
526
527
528
		tableName: "channels-param-info",
		tableChannels: "channels",
		tableRelatedDim: 'relatedDim',
0fc6f7a1   Menouard AZIB   Add type combobox...
529
		name: 'Background Substraction',
4dbd97ec   Menouard AZIB   Goal is reached b...
530
531
532
533
534
535
536
537
538
539
540
541
542
		type: {
			label: "Type ",
			key: "background_sub_type",
			values: {
				bychannel: "By Channel",
				fixedvalue: "Fixed Value"
			}
		},
		value: {
			textinputlabel: "Fixed value ",
			key: "background_sub_value",
			textinputkey: "background_sub_by_value",
			dimlabel: 'Dim ',
c3e75a07   Menouard AZIB   IHM is finished a...
543
			dimkey: 'background_sub_dim',
86615884   Menouard AZIB   Quand on passe d'...
544
			dimNullValue: "-1"
4dbd97ec   Menouard AZIB   Goal is reached b...
545
		}
0fc6f7a1   Menouard AZIB   Add type combobox...
546
	},
0fc6f7a1   Menouard AZIB   Add type combobox...
547
548
	getParamConfig: function (paramId, onParamConfigLoaded) {
		AmdaAction.getParamPlotInit({ "paramId": paramId }, function (result, e) {
ced82260   Benjamin Renard   Get initial plot ...
549
550
551
			onParamConfigLoaded(result.success, result.data);
		});
	}
28660257   Benjamin Renard   Reduce default ma...
552
});