I'd like to embed a simple dashboard / visualization into my web app with using the recommended share feature. My issue is that sometimes I only see the actual graph (as I should), and other occasion (without changing the code or anything), I can see the Kibana side menu and header through the iframe. Probably some configuration is missing, but I could not figure out what (weirdly the behavior seems non-deterministic).
Could you help out guys, how to ensure that only the visualization is visible?
Edit: just noticed that share / embed code / saved object basically just copy pastes the url from the browser and puts it into iframe tags. Is really how should this work?