Skip to content

Conversation

etpinard
Copy link
Contributor

resolves #4223

This PR adds an automargin attribute (which defaults to false) to pie traces.

example 1: https://codepen.io/etpinard/pen/ZEEOjxB?editors=1010

example 2 (with margin 0): https://codepen.io/etpinard/pen/dyyXjmK?editors=1010

cc @plotly/plotly_js

.. with a couple jasmine tests
- one with default margins
- one with margin:0
@etpinard etpinard added this to the v1.51.0 milestone Oct 16, 2019
@archmoj
Copy link
Contributor

archmoj commented Oct 22, 2019

Fantastic PR!
💃

@etpinard
Copy link
Contributor Author

Merging!

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

Successfully merging this pull request may close these issues.

Pie label clipping on tight margins
2 participants