Hide "Panel JSON" from viewers

My Grafana Version is “Version 7.0.3”

On your server, go to /usr/share/grafana/public/build.
You can see default~DashboardPage~SoloPanelPage.d3489276abe5fda2bd26.js file.

copy it to your local PC and go to this line

and remove that code like this…

Finally, delete your browser cache and go to your dashboard

This trick was best to me.
If you have better idea, please share to me…

3 Likes