XY chart legend scaling in Perspective

Hello, is there some way to scale correctly the legend of an XY Chart in Perspective? at present when scaling the page in the browser only the chart scales while the elegend remains unchanged and with a lot of unused padding which I am not able to remove.

Below a screenshot for reference:

power_chart

the only workaround is to hide the legend alltogether and create the labels by hand but this is quite cumbersome.
Thank you