Modify Plotly object directly?


#1

Is there a good way to modify the Plotly object state from within Redash? I’m having a lot of trouble getting the Plotly legend to render without covering a portion of my graph. I know how to solve this when using Plotly/D3 directly – is there a clean way to mess with these settings from within Redash?


#2

Can you post a screenshot of the issue? It sounds like something we should fix in general.


#3

The image above is the direct image export from Plotly. It’s a Plotly rendering issue. If I widen the viewport the legend will eventually float into proper alignment.


#4

So in Redash itself it’s renders OK, but when exporting you have this issue?


#5

No the problem is there in redash too. But the fact that the overlap happens even on the PNG export suggests that the issue is with Plotly configuration instead of Angular or CSS.


#6

I just realized you have a secondary Y axis there. It’s probably this issue: