Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/chart
TimeTickGenerator
Class TimeTickGenerator
Hierarchy
TickGenerator
<
DateTime
>
TimeTickGenerator
Index
Constructors
constructor
Properties
dt
n
t0
zone
Methods
count
domain
format
generate
from
Scale
interval
step
Constructors
constructor
new
Time
Tick
Generator
(
t0
:
AnyDateTime
, t1
:
AnyDateTime
, n
:
number
, zone
?:
TimeZone
)
:
TimeTickGenerator
Parameters
t0:
AnyDateTime
t1:
AnyDateTime
n:
number
Optional
zone:
TimeZone
Returns
TimeTickGenerator
Properties
Protected
dt
dt
:
number
Protected
n
n
:
number
Protected
t0
t0
:
number
Protected
zone
zone
:
TimeZone
Methods
count
count
(
)
:
number
count
(
n
:
number
)
:
TimeTickGenerator
Returns
number
Parameters
n:
number
Returns
TimeTickGenerator
domain
domain
(
)
:
Domain
<
DateTime
>
domain
(
ts
:
AnyDomain
<
DateTime
>
)
:
TimeTickGenerator
domain
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
)
:
TimeTickGenerator
Returns
Domain
<
DateTime
>
Parameters
ts:
AnyDomain
<
DateTime
>
Returns
TimeTickGenerator
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Returns
TimeTickGenerator
format
format
(
tickValue
:
DateTime
)
:
string
Parameters
tickValue:
DateTime
Returns
string
generate
generate
(
interval
?:
number
|
TimeInterval
)
:
DateTime
[]
Parameters
Optional
interval:
number
|
TimeInterval
Returns
DateTime
[]
Static
from
Scale
from
Scale<D>
(
scale
:
ContinuousScale
<
D
,
number
>
, n
?:
number
)
:
TickGenerator
<
D
>
Type parameters
D
Parameters
scale:
ContinuousScale
<
D
,
number
>
Optional
n:
number
Returns
TickGenerator
<
D
>
Static
interval
interval
(
dt
:
number
, interval
?:
number
|
TimeInterval
)
:
TimeInterval
Parameters
dt:
number
Optional
interval:
number
|
TimeInterval
Returns
TimeInterval
Static
step
step
(
dx
:
number
, n
:
number
)
:
number
Parameters
dx:
number
n:
number
Returns
number
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/ux
@swim/vis
@swim/gauge
@swim/pie
@swim/chart
@swim/maps
Time
Tick
Generator
constructor
dt
n
t0
zone
count
domain
format
generate
from
Scale
interval
step
Generated using
TypeDoc