How to modify embedded grafana panel content?

I have tried embed grafana panel through “local snapshot” way using iframes into my reactjs application and could able to do it.
But the issue is X and Y axis scales are differing between the actual grafana panel and the one embedded using snapshot.
How can I control the embedded grafana snapshot content in my application?
FYI: Tried