PlotTimeAxisForm.js 738 Bytes
/**
 * 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,
	showTicksNumberSpacing : false,
	showTicksTimeSpacingCombo :true,
	
	getFormItems: function() {
		
		var timeItems = [
	    	this.addStandardCombo('axis-time-format', 'Time Format', amdaDefaultConfigs.availableTimeAxisFormats)             
		];
		
		return Ext.Array.merge(timeItems, this.callParent());
	}
});