Panels in iframe shows different y-axis count based on iframe size

Bar graph on a panel when used inside the iframe, the counts on the bar graph vary based on the size of the Iframe.
Frame at medium size shows 10K count, Frame at small size shows 4K count and Frame at full screen shows 20K

How to fix this behavior?
I am using Grafana v7.2.1 (72a6c64532)

we don’t support v7 anymore. I would highly recommend you upgrade to Grafana 9.0+ :+1:

I figured out that in the Query options the Max Data Points equals to Panel Width, if set this higher then the issue goes away.

1 Like