# How can I pass the ranges from Visualization URL or Is there any way that I can pass dynamically

**URL:** <https://discuss.elastic.co/t/how-can-i-pass-the-ranges-from-visualization-url-or-is-there-any-way-that-i-can-pass-dynamically/137901>\
**Category:** Kibana\
**Created:** [June 29, 2018, 5:15am UTC](https://discuss.elastic.co/t/how-can-i-pass-the-ranges-from-visualization-url-or-is-there-any-way-that-i-can-pass-dynamically/137901 "2018-06-29T05:15:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shrikanth\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrikanth_m/32/47703_2.png) [@Shrikanth\_M](https://discuss.elastic.co/u/Shrikanth_M)\
**Post date:** [June 29, 2018, 5:15am UTC](https://discuss.elastic.co/t/how-can-i-pass-the-ranges-from-visualization-url-or-is-there-any-way-that-i-can-pass-dynamically/137901/1 "2018-06-29T05:15:52Z")

</div>

Hi,

I'm new to the Kibana, In Kibana how can I pass the Ranges values from visualization URL or Is there any way that I can pass dynamically.

![Ranges](https://us1.discourse-cdn.com/elastic/original/3X/a/9/a986e865697ee9670f00bd676d76dbb5e23453b7.PNG)

![Voters%20Chart](https://us1.discourse-cdn.com/elastic/original/3X/0/6/065aaea25e365151ecdd09a23fd7fe53e4ca2433.PNG)

Thanks

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [June 29, 2018, 3:19pm UTC](https://discuss.elastic.co/t/how-can-i-pass-the-ranges-from-visualization-url-or-is-there-any-way-that-i-can-pass-dynamically/137901/2 "2018-06-29T15:19:00Z")

</div>

hi @Shrikanth_M,

the ranges are part of the URL.

e.g.:

```auto
http://localhost:5601/app/kibana#/visualize/create?type=goal&indexPattern=de2f9d90-4413-11e8-8dab-394476f25724&_g=()&_a=(filters:!(),linked:!f,query:(language:lucene,query:''),uiState:(),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count)),params:(addLegend:!f,addTooltip:!t,gauge:(autoExtend:!f,backStyle:Full,colorSchema:'Green%20to%20Red',colorsRange:!((from:0,to:10000),(from:10000,to:20000)),gaugeColorMode:None,gaugeStyle:Full,gaugeType:Arc,invertColors:!f,labels:(color:black,show:!t),orientation:vertical,percentageMode:!t,scale:(color:%23333,labels:!f,show:!f,width:2),style:(bgColor:!f,bgFill:%23000,fontSize:60,labelColor:!f,subText:''),type:meter,useRanges:!f,verticalSplit:!f),isDisplayWarning:!f,type:gauge),title:'New%20Visualization',type:goal))

```

You can see the colorsRange parameter in the query-parameters. Similar for all other places where Kibana has range.

I would caution you that this is not part of the public API. Modifying the URL to inject parameters is not something that is supported. But it does work and it is something that other users have done and do as well.

thanks,

---

<div class="post-metadata">

**Author:** ![Shrikanth\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrikanth_m/32/47703_2.png) [@Shrikanth\_M](https://discuss.elastic.co/u/Shrikanth_M)\
**Post date:** [July 2, 2018, 7:03am UTC](https://discuss.elastic.co/t/how-can-i-pass-the-ranges-from-visualization-url-or-is-there-any-way-that-i-can-pass-dynamically/137901/3 "2018-07-02T07:03:13Z")

</div>

Hi @thomasneirynck,

Thanks a lot, it's working.

---

<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:** [July 30, 2018, 7:03am UTC](https://discuss.elastic.co/t/how-can-i-pass-the-ranges-from-visualization-url-or-is-there-any-way-that-i-can-pass-dynamically/137901/4 "2018-07-30T07:03:17Z")

</div>

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