Blame view

js/app/views/PlotComponents/PlotTimeAxisForm.js 738 Bytes
abe09878   Benjamin Renard   Add panels and ax...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * Project   : AMDA-NG
 * Name      : PlotTimeAxisForm.js
 * @class   amdaPlotComp.PlotTimeAxisForm
 * @extends amdaPlotComp.PlotBaseAxisForm
 * @brief   Form to define specifics time axis options
 * @author  Benjamin Renard
 * @version $Id: PlotTimeAxisForm.js benjamin $
 */

Ext.define('amdaPlotComp.PlotTimeAxisForm', {
	extend: 'amdaPlotComp.PlotBaseAxisForm',
	
	showScaleOption  : false,
	showRangeOptions : false,
5f7932b8   Erdogan Furkan   Done
16
17
	showTicksNumberSpacing : false,
	showTicksTimeSpacingCombo :true,
abe09878   Benjamin Renard   Add panels and ax...
18
19
	
	getFormItems: function() {
5f7932b8   Erdogan Furkan   Done
20
		
abe09878   Benjamin Renard   Add panels and ax...
21
		var timeItems = [
4f728fd9   Erdogan Furkan   For now 2
22
	    	this.addStandardCombo('axis-time-format', 'Time Format', amdaDefaultConfigs.availableTimeAxisFormats)             
abe09878   Benjamin Renard   Add panels and ax...
23
24
25
26
27
		];
		
		return Ext.Array.merge(timeItems, this.callParent());
	}
});