Bug
If I right align the legend there is no padding between the legend and the report. If I manually try and set a margin on the legend it is ignored.
http://jsfiddle.net/qbmg1567/512/
It should have at least a small bit of left padding or horizontal margin or let me manually override the margin without forcing me to fully replace the legend component
No, All versions of Rechart and on both firefox and chrome.
I'm having the same issue trying to line the legend up with a line chart's Y axis labels. Upon digging around with chrome inspector, It seems the margin isn't being applied at all. Oddly enough, placing a margin on the parent chart does apply that same margin to the legend.
Hi! Experiencing the same problem. Is there a workaround for this?
Hi, I ran into the same issue by setting the style myself via the _wrapperStyle_ property of the legend.
<Legend
verticalAlign="top"
layout="vertical"
align="right"
wrapperStyle={{
paddingLeft: "10px"
}}
/>
You can see an example of the end result at https://hq.squadlytics.com/squadlytics-development/deployments
Most helpful comment
Hi, I ran into the same issue by setting the style myself via the _wrapperStyle_ property of the legend.
You can see an example of the end result at https://hq.squadlytics.com/squadlytics-development/deployments