PlotInstantSerieForm.js 866 Bytes
/**
 * Project   : AMDA-NG
 * Name      : PlotInstantSerieForm.js
 * @class   amdaPlotComp.PlotInstantSerieForm
 * @extends amdaPlotComp.PlotStandardForm
 * @brief   Form to define specifics instant serie options
 * @author  Benjamin Renard
 * @version $Id: PlotInstantSerieForm.js benjamin $
 */

Ext.define('amdaPlotComp.PlotInstantSerieForm', {
	extend: 'amdaPlotComp.PlotStandardForm',
	
	setObject : function(object) {
		this.object = object.get('param-drawing-object');
		this.loadRecord(this.object);
	},
	
	getFormItems: function() {
		
		
		return [
		    this.addStandardCheck('iserie-tableonx', 'Table on X axis'),
		    this.addStandardFieldSet('Lines', 'iserie-lines-activated', this.addStandardLineItems('iserie-lines')),
		    this.addStandardFieldSet('Symbols', 'iserie-symbols-activated', this.addStandardSymbolsItems('iserie-symbols'))
		];
	}
});