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
NumberTickGenerator
Class NumberTickGenerator
Hierarchy
TickGenerator
<
number
>
NumberTickGenerator
Index
Constructors
constructor
Properties
dx
n
x0
Methods
count
domain
format
generate
from
Scale
interval
step
Constructors
constructor
new
Number
Tick
Generator
(
x0
:
number
, x1
:
number
, n
:
number
)
:
NumberTickGenerator
Parameters
x0:
number
x1:
number
n:
number
Returns
NumberTickGenerator
Properties
Protected
dx
dx
:
number
Protected
n
n
:
number
Protected
x0
x0
:
number
Methods
count
count
(
)
:
number
count
(
n
:
number
)
:
NumberTickGenerator
Returns
number
Parameters
n:
number
Returns
NumberTickGenerator
domain
domain
(
)
:
Domain
<
number
>
domain
(
xs
:
AnyDomain
<
number
>
)
:
NumberTickGenerator
domain
(
x0
:
number
, x1
:
number
)
:
NumberTickGenerator
Returns
Domain
<
number
>
Parameters
xs:
AnyDomain
<
number
>
Returns
NumberTickGenerator
Parameters
x0:
number
x1:
number
Returns
NumberTickGenerator
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
?:
number
)
:
TickGenerator
<
D
>
Type parameters
D
Parameters
scale:
ContinuousScale
<
D
,
number
>
Optional
n:
number
Returns
TickGenerator
<
D
>
Static
interval
interval
(
dx
:
number
, n
?:
number
)
:
number
Parameters
dx:
number
Optional
n:
number
Returns
number
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
Number
Tick
Generator
constructor
dx
n
x0
count
domain
format
generate
from
Scale
interval
step
Generated using
TypeDoc