[x] The constrainZoom function needs to be fixed as it doesn't seem to allow zooming in if either constraint is going to be broken; it should allow zooming in one dimension even if the other one won't work.
[x] I like the internal API for onGesture and for useTransition, but still very uncertain about usePannable and what levels of abstraction/customization will be necessary there. I like the idea of a reducer/monad but just providing an options object is also very straightforward.
[x] The major problem with unlocking this feature is that the chart tends to get very crowded with both data and tick labels. Re-evaluate the way contextual styles work to see if both viewboxes should be provided as arguments.
constrainZoom
function needs to be fixed as it doesn't seem to allow zooming in if either constraint is going to be broken; it should allow zooming in one dimension even if the other one won't work.onGesture
and foruseTransition
, but still very uncertain aboutusePannable
and what levels of abstraction/customization will be necessary there. I like the idea of a reducer/monad but just providing an options object is also very straightforward.