# Embedded visualization height

**URL:** https://discuss.elastic.co/t/embedded-visualization-height/194799
**Category:** Kibana
**Created:** [August 12, 2019, 7:26am UTC](https://discuss.elastic.co/t/embedded-visualization-height/194799 "2019-08-12T07:26:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![adankert](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@adankert](https://discuss.elastic.co/u/adankert)
#### Post date: [August 12, 2019, 7:26am UTC](https://discuss.elastic.co/t/embedded-visualization-height/194799/1 "2019-08-12T07:26:05Z")

</div>

I can embed Kibana visualizations without problems using the functionality in the GUI. However, for some visualizations the height of the visualization becomes smaller than the iframe height. Others fill the iframe size like expected. I.e. I set the iframe height to 500 but the actual Kibana graph only uses 300 pixels. If I increase the iframe height further I only get a bigger blank field below the graph.

I cannot find which parameter control the behaviour. Help?

Kibana version is 6.8.1.

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [August 12, 2019, 3:35pm UTC](https://discuss.elastic.co/t/embedded-visualization-height/194799/2 "2019-08-12T15:35:27Z")

</div>

> [@adankert](#):
>
> sing the functionality in the GUI. However, for some visualizations the height of the visualization becomes smaller than the iframe height. Others fill the iframe size like expected. I.e. I set the iframe height to 500 but the actual Kibana graph only uses 300 pixels. If I increase the iframe height further I only get a bigger blank field below the graph.

@timroes can you please help here. Am not too sure about the iframe height here . Is this some custom configuration which I'm missing? Am not too sure if this is browser specific also.

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [August 12, 2019, 3:47pm UTC](https://discuss.elastic.co/t/embedded-visualization-height/194799/3 "2019-08-12T15:47:20Z")

</div>

Hi,

there is no parameter that would control that. A chart should scale to the available place (unless it doesn't make sense for a chart, e.g. like the piechart will always try to stay round 🙂

Could you please attach a screenshot of the chart in the iframe that's not scaling correctly?

Cheers,  
Tim

---

<div class="post-metadata">

### Author: ![adankert](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@adankert](https://discuss.elastic.co/u/adankert)
#### Post date: [August 13, 2019, 10:12am UTC](https://discuss.elastic.co/t/embedded-visualization-height/194799/4 "2019-08-13T10:12:05Z")

</div>

![onload](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e48b411821b4f77143e5f3c2eb5b58ac7ae4d723.jpeg) ![fullscreen](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6f14543a505dbc1c4bd0674bec9570ba4e5e0057.jpeg)

onload.jpg : This is how the iframe opens  
fullscreen.jpg: This is after manually selecting Fullscreen from the 3 dots menu at the upper right.

As you can see there is a lot of unused space under the graph inside the iframe when the graph initially opens. This space is used when selecting fullscreen.

I have tested in latest Chrome and Firefox and the behavior is the same.  
Height and width are set like this: height="550" width="100%"  
Which works perfectly fine in other graphs.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 10, 2019, 10:12am UTC](https://discuss.elastic.co/t/embedded-visualization-height/194799/5 "2019-09-10T10:12:07Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
