Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d3 zoom #9

Open
sofer-eg opened this issue Mar 19, 2015 · 4 comments
Open

d3 zoom #9

sofer-eg opened this issue Mar 19, 2015 · 4 comments

Comments

@sofer-eg
Copy link

Is there any solution for change stroke-width and size using d3 zoom scale?

@riccardoscalco
Copy link
Owner

Really good point. Once I start work on this issue I let you know.

@sofer-eg
Copy link
Author

Thanks!
I try this code in zoom handler. It works, but looks like scaling not proportional.

d3.select('#' + texture.id())
    .attr('patternTransform', 'scale(' + 1 / d3.event.scale  + ')');

@lboecker
Copy link

I'm trying to figure this one out as well.

@jacobpierce
Copy link

+1 this would be extremely useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants