Grafana Plotly Title

Hii,
I am using Grafana 11.2.1 windows oss version . In a dashboard with two plots using the Plotly plugin, I made one plot vertically larger and the other horizontally larger. I used JavaScript code for the title of the panel, but the title appears to be running outside the plot with the vertically larger plot. How can I fix this issue?

welcome @vidyalekshmipl1

we would definitely need to see the javascript to help you fix the issue