# Create a visualization that ignores currently selected time range

**URL:** <https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949>\
**Category:** Kibana\
**Created:** [July 20, 2016, 7:35am UTC](https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949 "2016-07-20T07:35:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrvincnezo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrvincnezo/32/10829_2.png) [@mrvincnezo](https://discuss.elastic.co/u/mrvincnezo)\
**Post date:** [July 20, 2016, 7:35am UTC](https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949/1 "2016-07-20T07:35:16Z")

</div>

Is it possible to create a visualization that ignores the currently selected time range in a time based index?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 20, 2016, 8:24am UTC](https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949/2 "2016-07-20T08:24:41Z")

</div>

Nope, I think there's a feature request for it.

---

<div class="post-metadata">

**Author:** ![mrvincnezo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrvincnezo/32/10829_2.png) [@mrvincnezo](https://discuss.elastic.co/u/mrvincnezo)\
**Post date:** [July 20, 2016, 6:10pm UTC](https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949/3 "2016-07-20T18:10:56Z")

</div>

I found the feature request - [Local visualization time, independently from global dashboard time](https://github.com/elastic/kibana/issues/3578).

I need in the near future so I guess I will have to develop something similar.

I found this [Visualization-specific time filter](https://github.com/elastic/kibana/pull/6340) pull request. It seems like it can serve as a good starting point. In terms of UI, I want to do something different - I want to show a time range selection control on the visualization itself.

Any suggestions/ideas for the journey I am about to take?

---

<div class="post-metadata">

**Author:** ![JuanCarniglia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juancarniglia/32/11154_2.png) [@JuanCarniglia](https://discuss.elastic.co/u/JuanCarniglia)\
**Post date:** [August 2, 2016, 3:11am UTC](https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949/4 "2016-08-02T03:11:22Z")

</div>

I am a developer and I had to do this on a vis once (A custom visualization for a customer).

It's kind of hard to have a custom visualization "ignore" the filterManager. The workaround I found, was to actually create a copy of all the current filters, reload, and then set the filters again.

I can help out if you want.

Check out some other examples of custom visualizations here [https://github.com/JuanCarniglia](https://github.com/JuanCarniglia).

---

<div class="post-metadata">

**Author:** ![mrvincnezo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrvincnezo/32/10829_2.png) [@mrvincnezo](https://discuss.elastic.co/u/mrvincnezo)\
**Post date:** [August 2, 2016, 7:20am UTC](https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949/5 "2016-08-02T07:20:21Z")

</div>

Thanks @JuanCarniglia. I found this [pull request](https://github.com/elastic/kibana/pull/6340) that IMHO can serve as something to start from.

---

<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 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/create-a-visualization-that-ignores-currently-selected-time-range/55949/6 "2017-07-06T13:42:31Z")

</div>


