Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/chart
NumberTickGenerator
Class NumberTickGenerator
Hierarchy
TickGenerator
<
number
>
NumberTickGenerator
Index
Constructors
constructor
Methods
count
domain
format
generate
from
Scale
Constructors
constructor
new
Number
Tick
Generator
(
x0
:
number
, x1
:
number
, n
:
number
)
:
NumberTickGenerator
Parameters
x0:
number
x1:
number
n:
number
Returns
NumberTickGenerator
Methods
count
count
(
)
:
number
count
(
n
:
number
)
:
this
Returns
number
Parameters
n:
number
Returns
this
domain
domain
(
)
:
number
[]
domain
(
xs
:
ReadonlyArray
<
number
>
)
:
this
domain
(
x0
:
number
, x1
:
number
)
:
this
Returns
number
[]
Parameters
xs:
ReadonlyArray
<
number
>
Returns
this
Parameters
x0:
number
x1:
number
Returns
this
format
format
(
tickValue
:
number
)
:
string
Parameters
tickValue:
number
Returns
string
generate
generate
(
)
:
number
[]
Returns
number
[]
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
Number
Tick
Generator
constructor
count
domain
format
generate
from
Scale