# How to hide the left panel of a datavisualisation through the URL

**URL:** <https://discuss.elastic.co/t/how-to-hide-the-left-panel-of-a-datavisualisation-through-the-url/247240>\
**Category:** Kibana\
**Created:** [September 2, 2020, 1:48pm UTC](https://discuss.elastic.co/t/how-to-hide-the-left-panel-of-a-datavisualisation-through-the-url/247240 "2020-09-02T13:48:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ted1](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Ted1](https://discuss.elastic.co/u/Ted1)\
**Post date:** [September 2, 2020, 1:48pm UTC](https://discuss.elastic.co/t/how-to-hide-the-left-panel-of-a-datavisualisation-through-the-url/247240/1 "2020-09-02T13:48:30Z")

</div>

Hi there,

I need to have a datavisualisation OUTSIDE any dashboard (so that I can pass dynamically parameters through the URL calling the datavis).  
So I got a dashboard with a link to a new page with this datavis.

When the datavis page opens, there is this panel on the left (the panel with which the datavis is defined), and you can hide it clicking on the small arrow on its right side.

Is there any option that I could add to the datavis URL (or a datavis option, maybe??) so that this left panel is hidden by default?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [September 3, 2020, 10:47pm UTC](https://discuss.elastic.co/t/how-to-hide-the-left-panel-of-a-datavisualisation-through-the-url/247240/2 "2020-09-03T22:47:20Z")

</div>

Hey @Ted1,

Try adding `&embed=true` to the end of the vis URL. This should hide everything but the visualization itself.

For example, [here's a visualization from our demo environment](https://demo.elastic.co/app/kibana#/visualize/edit/e1d0f010-9ee7-11e7-8711-e7a007dcef99?_a=(filters:!(),linked:!f,query:(language:kuery,query:''),uiState:(vis:(colors:('Avg.%20Bytes':%2370DBED,'Unique%20Visitors':%230A437C),legendOpen:!f)),vis:(aggs:!((enabled:!t,id:'1',params:(customLabel:'Avg.%20Bytes',field:bytes),schema:metric,type:avg),(enabled:!t,id:'2',params:(customLabel:'Unique%20Visitors',field:clientip),schema:metric,type:cardinality),(enabled:!t,id:'3',params:(drop_partials:!f,extended_bounds:(),field:timestamp,interval:auto,min_doc_count:1,scaleMetricValues:!f,timeRange:(from:now-15m,to:now),useNormalizedEsInterval:!t),schema:segment,type:date_histogram),(enabled:!t,id:'4',params:(),schema:radius,type:count)),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,categoryAxes:!((id:CategoryAxis-1,labels:(show:!t,truncate:100),position:bottom,scale:(type:linear),show:!t,style:(),title:(),type:category)),grid:(categoryLines:!f,style:(color:%23eee)),labels:(),legendPosition:right,radiusRatio:17,seriesParams:!((data:(id:'1',label:'Avg.%20Bytes'),drawLinesBetweenPoints:!t,interpolate:linear,mode:stacked,show:true,showCircles:!t,type:histogram,valueAxis:ValueAxis-1),(data:(id:'2',label:'Unique%20Visitors'),drawLinesBetweenPoints:!f,interpolate:linear,mode:stacked,show:!t,showCircles:!t,type:line,valueAxis:ValueAxis-2)),thresholdLine:(color:%23E7664C,show:!f,style:full,value:10,width:1),times:!(),type:area,valueAxes:!((id:ValueAxis-1,labels:(filter:!f,rotate:0,show:!t,truncate:100),name:LeftAxis-1,position:left,scale:(mode:normal,type:linear),show:!t,style:(),title:(text:'Avg.%20Bytes'),type:value),(id:ValueAxis-2,labels:(filter:!f,rotate:0,show:!t,truncate:100),name:RightAxis-1,position:right,scale:(mode:normal,type:linear),show:!t,style:(),title:(text:'Unique%20Visitors'),type:value))),title:'%5BLogs%5D%20Unique%20Visitors%20vs.%20Average%20Bytes',type:area))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h,to:now))&embed=true) that I've added the `embed` param to.

One important thing to note is that this is purely cosmetic; it does _not_ enforce any security restrictions on the person viewing the visualization. It simply hides the rest of the UI.

---

<div class="post-metadata">

**Author:** ![Ted1](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Ted1](https://discuss.elastic.co/u/Ted1)\
**Post date:** [September 7, 2020, 3:28pm UTC](https://discuss.elastic.co/t/how-to-hide-the-left-panel-of-a-datavisualisation-through-the-url/247240/3 "2020-09-07T15:28:19Z")

</div>

Hi @lukeelmers,  
Thanks a lot, exactly what I wanted!  
Best,  
Ted

---

<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:** [October 5, 2020, 3:28pm UTC](https://discuss.elastic.co/t/how-to-hide-the-left-panel-of-a-datavisualisation-through-the-url/247240/4 "2020-10-05T15:28:29Z")

</div>

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