dygraphs icon indicating copy to clipboard operation
dygraphs copied to clipboard

Legend draws off partially screen after page resize

Open mgd722 opened this issue 7 years ago • 3 comments

In the demo for chart responsiveness, when you resize the window the chart legend is no longer drawn in chart bounds (overflows on the x axis).

OSX, Chrome 58

mgd722 avatar May 19 '17 03:05 mgd722

I know this isn't a fix, but I was having this issue and I just the css below to my css file, this puts the legend on the left instead of right. But it stays there.

.dygraph-legend { left: 70px !important; }

Mr-Newlove avatar Dec 07 '17 01:12 Mr-Newlove

nearly 3 years later ...

it's not just resizing. If you click on HTML/CSS/JS, the legend moves off to the right as well. My problem is that I have a title as well as a legend, and this has the same effect.

However, overriding the position as suggested fixes this too. 😄

probins avatar May 03 '20 11:05 probins

still not fixed :/ Windows 11 Version 22H2 (Build 22579.100) Chrome 99.0.4844.82

adiantek avatar Mar 29 '22 20:03 adiantek