You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The D3 scale has a "piecewise" feature that allows you to create a scale with multiple domain / range elements. This has some similarities to the D3FC discontinuous scale.
The following example demonstrates how you can create a linear scale with a 'break' between 75-100 using this feature:
One possible option would be to use this functionality to simplify the implementation of fc.scaleDiscontinuous, however, it would still need work to remove ticks from within the discontinuities.
The text was updated successfully, but these errors were encountered:
The D3 scale has a "piecewise" feature that allows you to create a scale with multiple domain / range elements. This has some similarities to the D3FC discontinuous scale.
The following example demonstrates how you can create a linear scale with a 'break' between 75-100 using this feature:
This yields the following result:
One possible option would be to use this functionality to simplify the implementation of
fc.scaleDiscontinuous
, however, it would still need work to remove ticks from within the discontinuities.The text was updated successfully, but these errors were encountered: