Is there a way to get a dashboard-in-iframe's height in pixels or other CSS units that can be measured in the browse and its viewport, outside Kibana? Or maybe get the height of individual visualizations based on their gridData.
With Chrome Dev Tools some elements can be inspected and their size found, but this is about calculating it beforehand.
When adding visualizations on a dashboard, they have parameters for the property gridData:
How are the width and height connected to the resolution that is displayed in the browser?
In this answer, they wrote that the number of columns was expanded to 48, and there is a link to the GitHub commit: Grid layout sizing changed after upgrade from 6.2.4 to 6.7.1 - #3 by timroes.
But, how is the visualization height connected to the height of the iframe in pixels? If the iframe is created with less width, then the dashboards get less wide, but if it's created with less height, then a longer scroll appears. The visualizations' width gets compressed, but not their height.
If we know that the dashboard has 2 visualizations with "h": 15 one below the other, can its height be calculated? It's going to be 30 of these units, but what do they mean in pixels?
How are "w": 24 and "h": 15 mapped to pixel size, and can we get the size in pixels from them? For example, if "h": 15 is equivalent to 400 pixels. The width would be dependent on the iframe width, but the height seems unchanged when changing the iframe height, only the scrollable sidebar changes.