Legend not showing up

Hello,
I really need help, I have a 2d line plot and my legend not showing up, only first letter of the name. Hover works, but static legend not showing up. Thanks!

That shouldn’t happen. Can you share a reproducible example?

Sorry, my bad. I am using galaxyproject server and it do not load correctly. I fix it with adding setTimeout() and whole code into it. I still do not understand why it happens, but now it works. Galaxyproject is using mako templates which are generating into iframe.