NumberZoomIntervalSelection.js
1.01 KB
Ext.define('amdaPlotComp.intervalSelection.NumberZoomIntervalSelection', {
extend: 'amdaPlotComp.intervalSelection.ZoomIntervalSelection', // This class extends from amdaPlotComp.intervalSelection.ZoomIntervalSelection
field1Type: 'numberfield', // The type of the first field is a number field
field1Label: 'Min Value', // The label for the first field is 'Min Value'
field1Format: null, // The format for the first field is initially set to null
field2Type: 'numberfield', // The type of the second field is a number field
field2Label: 'Max value', // The label for the second field is 'Max value'
field2Format: null, // The format for the second field is initially set to null
type: null, // The type of interval selection is initially set to null
/**
* Initializes the component.
* It calls the parent's initComponent method, then removes the use time button.
*/
initComponent: function () {
this.callParent(arguments);
this._removeUseTimeButton();
}
});