Skip to content

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