Interface ITime

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public background?: any

[Config Option] (Object)

optional public bubbleEvents?: any

[Config Option] (String/String[])

optional public calculateByLabelSize?: boolean

[Config Option] (Boolean)

optional public chart?: IAbstractChart

[Config Option] (Ext.chart.AbstractChart)

optional public config?: any

[Config Option] (Object)

optional public dateFormat?: any

[Config Option] (String/Boolean)

optional public extend?: string

[Config Option] (String)

optional public fields?: Array<any>

[Config Option] (Array)

optional public fromDate?: any

[Config Option] (Date)

optional public grid?: any

[Config Option] (Object)

optional public hidden?: boolean

[Config Option] (Boolean)

optional public increment?: number

[Config Option] (Number)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public label?: any

[Config Option] (Object)

optional public labelInSpan?: boolean

[Config Option] (Boolean)

optional public layout?: any

[Config Option] (Object|Ext.chart.axis.layout.Layout)

optional public listeners?: any

[Config Option] (Object)

optional public maxZoom?: number

[Config Option] (Number)

optional public maximum?: number

[Config Option] (Number)

optional public minZoom?: number

[Config Option] (Number)

optional public minimum?: number

[Config Option] (Number)

optional public mixins?: any

[Config Option] (Object)

optional public needHighPrecision?: boolean

[Config Option] (Boolean)

optional public platformConfig?: any

[Config Option] (Object)

optional public position?: string

[Config Option] (String)

optional public renderer?: any

[Config Option] (Function)

optional public segmenter?: any

[Config Option] (Object|Ext.chart.axis.segmenter.Segmenter)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public step?: Array<any>

[Config Option] (Array)

optional public style?: any

[Config Option] (Object)

optional public title?: any

[Config Option] (String|Object)

optional public titleMargin?: number

[Config Option] (Number)

optional public toDate?: any

[Config Option] (Date)

optional public uses?: Array<string>

[Config Option] (String[])

optional public visibleRange?: Array<any>

[Config Option] (Array)

Methods

optional public addAfterListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Appends an after event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public addBeforeListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Appends a before event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public addEvents(eventNames?: any)

[Method] Adds the specified events to the list of events which this Observable may fire

Parameters

  • eventNames?: any optional

    Object/String... Either an object with event names as properties with a value of true or the first event name string if multiple event names are being passed as separate parameters.

optional public addListener(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Appends an event handler to this object

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.

  • fn?: any optional

    Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.

  • scope?: any optional

    Object The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event.

  • options?: any optional

    Object An object containing handler configuration. This object may contain any of the following properties:

  • order?: string optional

    String The order of when the listener should be added into the listener queue. Possible values are before, current and after.

optional public addManagedListener(object?: any, eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Adds listeners to any Observable object or Element which are automatically removed when this Component is destroyed

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

  • options?: any optional

    Object If the eventName parameter was an event name, this is the addListener options.

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public clearListeners()

[Method] Removes all listeners for this object

optional public destroy()

[Method]

optional public enableBubble(events?: any)

[Method] Enables events fired by this Observable to bubble up an owner hierarchy by calling this getBubbleTarget if present

Parameters

  • events?: any optional

    String/String[] The event name to bubble, or an Array of event names.

optional public fireAction(eventName?: string, args?: Array<any>, fn?: any, scope?: any): any

[Method] Fires the specified event with the passed parameters and execute a function action at the end if there are no liste

Parameters

  • eventName?: string optional

    String The name of the event to fire.

  • args?: Array<any> optional

    Array Arguments to pass to handers.

  • fn?: any optional

    Function Action.

  • scope?: any optional

    Object Scope of fn.

Returns

any

Object

optional public fireEvent(eventName: string, args?: Array<any>): boolean

[Method] Fires the specified event with the passed parameters minus the event name plus the options object passed to addList

Parameters

  • eventName: string

    String The name of the event to fire.

  • args?: Array<any> optional

    Object... Variable number of parameters are passed to handlers.

Returns

boolean

Boolean Returns false if any of the handlers return false.

optional public getAggregator(): string

[Method] Returns the value of aggregator

Returns

string

String

optional public getBackground(): any

[Method] Returns the value of background

Returns

any

Object

optional public getBubbleEvents(): any

[Method] Returns the value of bubbleEvents

Returns

any

String/String[]

optional public getCalculateByLabelSize(): boolean

[Method] Returns the value of calculateByLabelSize

Returns

boolean

Boolean

optional public getChart(): IAbstractChart

[Method] Returns the value of chart

Returns

IAbstractChart

Ext.chart.AbstractChart

optional public getCoordFor(value?: any): number

[Method] Mapping data value into coordinate

Parameters

  • value?: any optional

    Object

Returns

number

Number

optional public getDateFormat(): any

[Method] Returns the value of dateFormat

Returns

any

String/Boolean

optional public getFields(): Array<any>

[Method] Returns the value of fields

Returns

Array<any>

Array

optional public getFromDate(): any

[Method] Returns the value of fromDate

Returns

any

Date

optional public getGrid(): any

[Method] Returns the value of grid

Returns

any

Object

optional public getHidden(): boolean

[Method] Returns the value of hidden

Returns

boolean

Boolean

optional public getId(): any

[Method] Retrieves the id of this component

Returns

any

any id

optional public getIncrement(): number

[Method] Returns the value of increment

Returns

number

Number

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getLabel(): any

[Method] Returns the value of label

Returns

any

Object

optional public getLabelInSpan(): boolean

[Method] Returns the value of labelInSpan

Returns

boolean

Boolean

optional public getLayout(): string

[Method] Returns the value of layout

Returns

string

String

optional public getListeners(): any

[Method] Returns the value of listeners

Returns

any

Object

optional public getMaxZoom(): number

[Method] Returns the value of maxZoom

Returns

number

Number

optional public getMaximum(): number

[Method] Returns the value of maximum

Returns

number

Number

optional public getMinZoom(): number

[Method] Returns the value of minZoom

Returns

number

Number

optional public getMinimum(): number

[Method] Returns the value of minimum

Returns

number

Number

optional public getNeedHighPrecision(): boolean

[Method] Returns the value of needHighPrecision

Returns

boolean

Boolean

optional public getPosition(): string

[Method] Returns the value of position

Returns

string

String

optional public getRange(): Array<any>

[Method] Get the range derived from all the bound series

Returns

Array<any>

Array

optional public getRenderer(): any

[Method] Returns the value of renderer

Returns

any

Function

optional public getSegmenter(): string

[Method] Returns the value of segmenter

Returns

string

String

optional public getStep(): Array<any>

[Method] Returns the value of step

Returns

Array<any>

Array

optional public getStyle(): any

[Method] Returns the value of style

Returns

any

Object

optional public getTitle(): any

[Method] Returns the value of title

Returns

any

String|Object

optional public getTitleMargin(): number

[Method] Returns the value of titleMargin

Returns

number

Number

optional public getToDate(): any

[Method] Returns the value of toDate

Returns

any

Date

optional public getVisibleRange(): Array<any>

[Method] Returns the value of visibleRange

Returns

Array<any>

Array

optional public hasListener(eventName?: string): boolean

[Method] Checks to see if this object has any listeners for a specified event

Parameters

  • eventName?: string optional

    String The name of the event to check for

Returns

boolean

Boolean True if the event is being listened for, else false

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public mon(object?: any, eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for addManagedListener

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

  • options?: any optional

    Object If the eventName parameter was an event name, this is the addListener options.

optional public mun(object?: any, eventName?: any, fn?: any, scope?: any)

[Method] Alias for removeManagedListener

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

optional public on(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Alias for addListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.

  • fn?: any optional

    Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.

  • scope?: any optional

    Object The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event.

  • options?: any optional

    Object An object containing handler configuration. This object may contain any of the following properties:

  • order?: string optional

    String The order of when the listener should be added into the listener queue. Possible values are before, current and after.

optional public onAfter(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for addAfterListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public onBefore(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for addBeforeListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event to listen for.

  • fn?: any optional

    Function/String The method the event invokes.

  • scope?: any optional

    Object The scope for fn.

  • options?: any optional

    Object An object containing handler configuration.

optional public processData()

[Method] Invoked when data has changed

optional public relayEvents(object?: any, events?: any): IObservable

[Method] Relays selected events from the specified Observable as if the events were fired by this

Parameters

  • object?: any optional

    Object The Observable whose events this object is to relay.

  • events?: any optional

    String/Array/Object Array of event names to relay.

Returns

IObservable

Ext.mixin.Observable this

optional public removeAfterListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Removes a before event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.

optional public removeBeforeListener(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Removes a before event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.

optional public removeListener(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Removes an event handler

Parameters

  • eventName?: any optional

    String/String[]/Object The type of event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove. This must be a reference to the function passed into the addListener call.

  • scope?: any optional

    Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to addListener or the listener will not be removed.

  • options?: any optional

    Object Extra options object. See addListener for details.

  • order?: string optional

    String The order of the listener to remove. Possible values are before, current and after.

optional public removeManagedListener(object?: any, eventName?: any, fn?: any, scope?: any)

[Method] Adds listeners to any Observable object or Element which are automatically removed when this Component is destroyed

Parameters

  • object?: any optional

    Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.

  • eventName?: any optional

    Object/String The event name, or an object containing event name properties.

  • fn?: any optional

    Function If the eventName parameter was an event name, this is the handler function.

  • scope?: any optional

    Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.

optional public renderFrame()

[Method] Invokes renderFrame on this axis s surface s

optional public resumeEvents(discardQueuedEvents?: boolean)

[Method] Resumes firing events see suspendEvents

Parameters

  • discardQueuedEvents?: boolean optional

    Boolean Pass as true to discard any queued events.

optional public setAggregator(aggregator?: string)

[Method] Sets the value of aggregator

Parameters

  • aggregator?: string optional

    String

optional public setBackground(background?: any)

[Method] Sets the value of background

Parameters

  • background?: any optional

    Object

optional public setBubbleEvents(bubbleEvents?: any)

[Method] Sets the value of bubbleEvents

Parameters

  • bubbleEvents?: any optional

    String/String[]

optional public setCalculateByLabelSize(calculateByLabelSize?: boolean)

[Method] Sets the value of calculateByLabelSize

Parameters

  • calculateByLabelSize?: boolean optional

    Boolean

optional public setChart(chart?: IAbstractChart)

[Method] Sets the value of chart

Parameters

optional public setDateFormat(dateFormat?: any)

[Method] Sets the value of dateFormat

Parameters

  • dateFormat?: any optional

    String/Boolean

optional public setFields(fields?: Array<any>)

[Method] Sets the value of fields

Parameters

  • fields?: Array<any> optional

    Array

optional public setFromDate(fromDate?: any)

[Method] Sets the value of fromDate

Parameters

  • fromDate?: any optional

    Date

optional public setGrid(grid?: any)

[Method] Sets the value of grid

Parameters

  • grid?: any optional

    Object

optional public setHidden(hidden?: boolean)

[Method] Sets the value of hidden

Parameters

  • hidden?: boolean optional

    Boolean

optional public setIncrement(increment?: number)

[Method] Sets the value of increment

Parameters

  • increment?: number optional

    Number

optional public setLabel(label?: any)

[Method] Sets the value of label

Parameters

  • label?: any optional

    Object

optional public setLabelInSpan(labelInSpan?: boolean)

[Method] Sets the value of labelInSpan

Parameters

  • labelInSpan?: boolean optional

    Boolean

optional public setLayout(layout?: string)

[Method] Sets the value of layout

Parameters

  • layout?: string optional

    String

optional public setListeners(listeners?: any)

[Method] Sets the value of listeners

Parameters

  • listeners?: any optional

    Object

optional public setMaxZoom(maxZoom?: number)

[Method] Sets the value of maxZoom

Parameters

  • maxZoom?: number optional

    Number

optional public setMaximum(maximum?: number)

[Method] Sets the value of maximum

Parameters

  • maximum?: number optional

    Number

optional public setMinZoom(minZoom?: number)

[Method] Sets the value of minZoom

Parameters

  • minZoom?: number optional

    Number

optional public setMinimum(minimum?: number)

[Method] Sets the value of minimum

Parameters

  • minimum?: number optional

    Number

optional public setNeedHighPrecision(needHighPrecision?: boolean)

[Method] Sets the value of needHighPrecision

Parameters

  • needHighPrecision?: boolean optional

    Boolean

optional public setPosition(position?: string)

[Method] Sets the value of position

Parameters

  • position?: string optional

    String

optional public setRenderer(renderer?: any): string

[Method] Sets the value of renderer

Parameters

  • renderer?: any optional

    Function

Returns

string

String The label to display.

optional public setSegmenter(segmenter?: string)

[Method] Sets the value of segmenter

Parameters

  • segmenter?: string optional

    String

optional public setStep(step?: Array<any>)

[Method] Sets the value of step

Parameters

  • step?: Array<any> optional

    Array

optional public setStyle(style?: any)

[Method] Sets the value of style

Parameters

  • style?: any optional

    Object

optional public setTitle(title?: any)

[Method] Sets the value of title

Parameters

  • title?: any optional

    String|Object

optional public setTitleMargin(titleMargin?: number)

[Method] Sets the value of titleMargin

Parameters

  • titleMargin?: number optional

    Number

optional public setToDate(toDate?: any)

[Method] Sets the value of toDate

Parameters

  • toDate?: any optional

    Date

optional public setVisibleRange(visibleRange?: Array<any>)

[Method] Sets the value of visibleRange

Parameters

  • visibleRange?: Array<any> optional

    Array

optional public suspendEvents()

[Method] Suspends the firing of all events

optional public un(eventName?: any, fn?: any, scope?: any, options?: any, order?: string)

[Method] Alias for removeListener

Parameters

  • eventName?: any optional

    String/String[]/Object The type of event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove. This must be a reference to the function passed into the addListener call.

  • scope?: any optional

    Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to addListener or the listener will not be removed.

  • options?: any optional

    Object Extra options object. See addListener for details.

  • order?: string optional

    String The order of the listener to remove. Possible values are before, current and after.

optional public unAfter(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for removeAfterListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.

optional public unBefore(eventName?: any, fn?: any, scope?: any, options?: any)

[Method] Alias for removeBeforeListener

Parameters

  • eventName?: any optional

    String/String[]/Object The name of the event the handler was associated with.

  • fn?: any optional

    Function/String The handler to remove.

  • scope?: any optional

    Object The scope originally specified for fn.

  • options?: any optional

    Object Extra options object.