black-mirror-1 / singlestat-math

Panel based on the default single stat panel with added feature to do math across metrics from multiple queries.
MIT License
14 stars 14 forks source link

value for panel drawn when it should be hidden #58

Open yellowpattern opened 2 years ago

yellowpattern commented 2 years ago

In https://github.com/grafana/grafana/issues/44351 I reported an issue that I thought was grafana's (8.3.3) problem where when the panel is too small to fit both the title of the panel and the text value for the panel, the text value for the panel is displayed over the top of other objects on the screen.

Back in grafana 6.5 (and an older version of singlestat-math), when the panel was resized to be too small to show the value, only the title would be visible (correct behaviour) because the rendering location for the text value was not within the rectangle of the panel.