Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/chart
TimeTickGenerator
Class TimeTickGenerator
Hierarchy
TickGenerator
<
DateTime
>
TimeTickGenerator
Index
Constructors
constructor
Methods
count
domain
format
generate
from
Scale
Constructors
constructor
new
Time
Tick
Generator
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, n
:
number
, zone
?:
TimeZone
)
:
TimeTickGenerator
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
n:
number
Optional
zone:
TimeZone
Returns
TimeTickGenerator
Methods
count
count
(
)
:
number
count
(
n
:
number
)
:
this
Returns
number
Parameters
n:
number
Returns
this
domain
domain
(
)
:
DateTime
[]
domain
(
ts
:
ReadonlyArray
<
AnyDateTime
>
)
:
this
domain
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
)
:
this
Returns
DateTime
[]
Parameters
ts:
ReadonlyArray
<
AnyDateTime
>
Returns
this
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Returns
this
format
format
(
tickValue
:
DateTime
)
:
string
Parameters
tickValue:
DateTime
Returns
string
generate
generate
(
interval
?:
TimeInterval
|
number
)
:
DateTime
[]
Parameters
Optional
interval:
TimeInterval
|
number
Returns
DateTime
[]
Static
from
Scale
from
Scale<D>
(
scale
:
ContinuousScale
<
D
,
number
>
, n
?:
undefined
|
number
)
:
TickGenerator
<
D
>
Type parameters
D
Parameters
scale:
ContinuousScale
<
D
,
number
>
Optional
n:
undefined
|
number
Returns
TickGenerator
<
D
>
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/ux
@swim/chart
@swim/gauge
@swim/map
@swim/mapbox
@swim/pie
@swim/web
Time
Tick
Generator
constructor
count
domain
format
generate
from
Scale