Replies: 8 comments 3 replies
-
Anyone made progress on this? |
Beta Was this translation helpful? Give feedback.
-
@s-hood I also could not think of a way to do this with zoom, so instead I used drag to draw a rectangle |
Beta Was this translation helpful? Give feedback.
-
I have managed to do this with a linear scale, but struggling with time scale:
|
Beta Was this translation helpful? Give feedback.
-
Correction, this is working for me for both linear and time. The trick was just to convert everything to pixel values, apply the transforms, then convert back to the domain.
|
Beta Was this translation helpful? Give feedback.
-
Yup, here is a method I'm using to scale my Axis based on the zoom.
|
Beta Was this translation helpful? Give feedback.
-
@sseira Trying to figure this stuff out myself now. Where would you call |
Beta Was this translation helpful? Give feedback.
-
@cilphex that function is a way to generate a new zoomed scale, you should call it inside Zoom's render prop and use the zoomed scale instead of the original one:
|
Beta Was this translation helpful? Give feedback.
-
is there a way to zoom smoothly? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using the zoom component I would like to apply the transform matrix to my axis so that they represent the new visible domain. How would I go about this using vx?
Beta Was this translation helpful? Give feedback.
All reactions