Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
D3
Scale
TimeScale
Interface TimeScale
Hierarchy
Scale
TimeScale
Index
Call signatures
Properties
domain
interpolate
range
rangeRound
ticks
Methods
clamp
copy
invert
invertExtent
tickFormat
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
Globals
D3
D3.Behavior
D3.Color
D3.Geo
D3.Geom
D3.Layout
D3.Scale
D3.Svg
D3.Time
D3.Transition
IdentityScale
LinearScale
LogScale
OrdinalScale
PowScale
QuantileScale
QuantitiveScale
QuantizeScale
Scale
ScaleBase
SqrtScale
ThresholdScale
TimeScale
domain
interpolate
range
rangeRound
ticks
clamp
copy
invert
invertExtent
tickFormat