foldkit-viz - v0.15.0
Storybook
Charts
npm
GitHub
Zloz API
Preparing search index...
constrainDomain
Function constrainDomain
constrainDomain
(
domain
:
ContinuousDomain
,
bounds
:
ContinuousDomain
,
minSpan
:
number
,
)
:
ContinuousDomain
Expand about the centre, then translate to fit bounds, preserving span when possible.
Parameters
domain
:
ContinuousDomain
bounds
:
ContinuousDomain
minSpan
:
number
Returns
ContinuousDomain
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Storybook
Charts
npm
GitHub
Zloz API
foldkit-viz - v0.15.0
Loading...
Expand about the centre, then translate to fit bounds, preserving span when possible.