Interface INumeric

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public axis?: IAxis

[Config Option] (Ext.chart.axis.Axis)

optional public config?: any

[Config Option] (Object)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public mixins?: any

[Config Option] (Object)

optional public platformConfig?: any

[Config Option] (Object)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public uses?: Array<string>

[Config Option] (String[])

Methods

optional public add(value?: any, step?: any, unit?: any)

[Method] Add step units to the value

Parameters

  • value?: any optional

    Object

  • step?: any optional

    Object

  • unit?: any optional

    Object

optional public align(value?: any, step?: any, unit?: any): any

[Method] Align value with step of units

Parameters

  • value?: any optional

    Object

  • step?: any optional

    Object

  • unit?: any optional

    Object

Returns

any

  • Aligned value.

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 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 destroy()

[Method]

optional public diff(min?: any, max?: any, unit?: any): number

[Method] Returns the difference between the min and max value based on the given unit scale

Parameters

  • min?: any optional

    Object

  • max?: any optional

    Object

  • unit?: any optional

    Object

Returns

number

Number The number of units between min and max. It is the minimum n that min + n * unit >= max.

optional public from(value?: any): any

[Method] Convert from any data into the target type

Parameters

  • value?: any optional
    • The value to convert from

Returns

any

  • The converted value.

optional public getAxis(): IAxis

[Method] Returns the value of axis

Returns

IAxis

Ext.chart.axis.Axis

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 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 preferredStep(min?: any, estStepSize?: any): any

[Method] Given a start point and estimated step size of a range determine the preferred step size

Parameters

  • min?: any optional

    Object

  • estStepSize?: any optional

    Object

Returns

any

Object Return the step size by an object of step x unit.

optional public renderer(value?: any, context?: any): string

[Method] This method formats the value

Parameters

  • value?: any optional

    Object

  • context?: any optional

    Object

Returns

string

String

optional public setAxis(axis?: IAxis)

[Method] Sets the value of axis

Parameters

  • axis?: IAxis optional

    Ext.chart.axis.Axis