plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

.textline remains when window size gets large

Open tkfm-yamaguchi opened this issue 5 years ago • 1 comments

Hi, thank you for the great library.

I use the pie chart with responsive: true for the graph configuration, and I've noticed that when the window size gets small, the label would be shown outside of the arc with .textline lines: 1

And then the window size gets large again, .textline lines remains even when they are not necessary anymore: 2

I think it is not an intended thing which '.textline' lines are remaining.

It can be reproduced on this codepen with resizing the preview window.

tkfm-yamaguchi avatar Jul 03 '20 06:07 tkfm-yamaguchi

Confirmed - nice catch!

alexcjohnson avatar Jul 06 '20 21:07 alexcjohnson