How to set Legend Position above chart

Hi team.
I am working on Report.
I want to set Legend Position at Top Right or above Report.
Now it is got mixed with bar chart.I dint want this.
image.
How to achieve this?

Hi,
There is a customization script by the name “legends” which allows you to specify the position of the legends.