PlotTimeAxisForm.js 678 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,
	
	getFormItems: function() {
		var timeItems = [
	    	this.addStandardCombo('axis-time-format', 'Time Format', amdaPlotObj.PlotObjectConfig.availableTimeAxisFormats)             
		];
		
		return Ext.Array.merge(timeItems, this.callParent());
	}
});