Interface TimeScale

Hierarchy

Index

Call signatures

Properties

Methods

Call signatures

(value: Date): number

Parameters

  • value: Date

Returns

number

Properties

public domain: { (values: any[]): D3.Scale.TimeScale; (): any[]; }

(): TimeScale

Returns

TimeScale

(): Array<any>

Returns

Array<any>

public interpolate: { (): D3.Transition.Interpolate; (factory: D3.Transition.InterpolateFactory): D3.Scale.TimeScale; }

(): Interpolate

Returns

Interpolate

(): TimeScale

Returns

TimeScale

public range: { (values: any[]): D3.Scale.TimeScale; (): any[]; }

(): TimeScale

Returns

TimeScale

(): Array<any>

Returns

Array<any>

public rangeRound: (values: any[]) => D3.Scale.TimeScale

public ticks: { (count: number): any[]; (range: D3.Time.Range, count: number): any[]; }

(): Array<any>

Returns

Array<any>

(): Array<any>

Returns

Array<any>

Methods

public clamp(clamp: boolean): TimeScale

Parameters

  • clamp: boolean

Returns

TimeScale

public copy(): TimeScale

Returns

TimeScale

public invert(value: number): Date

Parameters

  • value: number

Returns

Date

optional public invertExtent(y: any): Array<any>

Parameters

  • y: any

Returns

Array<any>

public tickFormat(count: number): (n: number) => string

Parameters

  • count: number

Returns

(n: number) => string