You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Can we adjust the width/height of the legend (containing multiple legend items) to prevent it from being overlapped on y-axis title? Here is the code which shows multiple y-axes but the legend overlaps the title of second y-axis (at the right side of the graph).
Any help will be appreciated.
Thanks!
Reacted by Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>, Alex Marvin, Sean McCarthy, mos790 and 🦦
Shouldn't plotly be aware of the second y-Axis and move the legend accordingly automatically?
Reacted by juni-green, Michael Smith, Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>, nirvana-msu, Andy Petrella, Lucas Durand, Vipin Ajayakumar, Trevor Cords, Dennis Verheijden, Daniel and 19 more
Activity
etpinard commentedon Apr 13, 2017
Short answer: no.
Longer answer: I'm not sure how width/height would help you in this case. What you really need is to input a valid
legend.xvalue like in http://codepen.io/etpinard/pen/WjbNRZ?editors=0010Alternatively, you can try increasing the right margin (e.g. with `layout.margin.r: 100) and/or make the trace name smaller.
etpinard commentedon Apr 18, 2017
Closing due to lack of activity after my #1594 (comment)
juni-green commentedon Apr 19, 2017
Thanks! It worked. Actually I was thinking to adjust its width and height such that the scrollbar could appear, but your solution worked better.
legg681 commentedon Apr 26, 2017
Shouldn't plotly be aware of the second y-Axis and move the legend accordingly automatically?
Title cutoff on y-axis or overlaps with tick label
cirosantilli commentedon Nov 24, 2017
legend below + x axis analogue: #1199