Skip to content

Non-scaling SVG scatter lines #761

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

Merged
merged 1 commit into from
Jul 21, 2016
Merged

Non-scaling SVG scatter lines #761

merged 1 commit into from
Jul 21, 2016

Conversation

rreusser
Copy link
Contributor

@rreusser rreusser commented Jul 21, 2016

See: #760
See related point scaling PR: #762
See codepen example (includes point scaling PR, visible on scrollZoom): http://codepen.io/rsreusser/pen/OXvmjR?editors=0010

This is basically a one-line commit that disables scaling on scatter paths. It can be applied in lineGroupStyle, but since it has no effect in the other places where it's used (except for contours, where this could also be applied), it seems more targeted to just apply it to scatter lines directly.

This does not solve the point scaling problem. See example at: https://rreusser.github.io/plotly-expression-transform/ (which actually applies it in the drawing component, but for the sake of illustration, the effect is the same while scrollzoooming)

cc: @mdtusz

@rreusser rreusser changed the title Disable SVG scaling on scatter lines Non-scaling SVG scatter lines Jul 21, 2016
@etpinard
Copy link
Contributor

Nicely done 💃

@mdtusz
Copy link
Contributor

mdtusz commented Jul 21, 2016

Awesome! 💃

@rreusser rreusser merged commit 3393334 into master Jul 21, 2016
@rreusser rreusser deleted the non-scaling-stroke branch July 21, 2016 20:08
@etpinard etpinard added this to the v1.15.0 milestone Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants