# How to reset BarChart stack filtering

**URL:** <https://community.datagrok.ai/t/how-to-reset-barchart-stack-filtering/606>\
**Category:** Questions\
**Created:** [January 10, 2022, 2:51pm UTC](https://community.datagrok.ai/t/how-to-reset-barchart-stack-filtering/606 "2022-01-10T14:51:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nico.pulver.novartis.com](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@nico.pulver.novartis.com](https://community.datagrok.ai/u/nico.pulver.novartis.com)\
**Post date:** [January 10, 2022, 2:51pm UTC](https://community.datagrok.ai/t/how-to-reset-barchart-stack-filtering/606/1 "2022-01-10T14:51:10Z")

</div>

Hi Team,

When I played with a stacked BarChart and used its legend to filter data, I was lost on how to reset this filtering, without resetting the entire filter panel (e.g. when I filtered a separate category via the filter panel, which I don’t want to lose):

 ![image](https://community.datagrok.ai/uploads/default/original/1X/904726c365637e33dc1b942caedebf2aa7d1a48b.png)

Is this BarChart legend filtering handled somewhere in the UI? Or would it even make sense to reflect it in the same categorical filter in the filter panel to make it consistent?

---

<div class="post-metadata">

**Author:** ![kdoncov](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/k/b3f665/32.png) [@kdoncov](https://community.datagrok.ai/u/kdoncov)\
**Post date:** [January 11, 2022, 12:04pm UTC](https://community.datagrok.ai/t/how-to-reset-barchart-stack-filtering/606/2 "2022-01-11T12:04:18Z")

</div>

Hi Nico,

As a workaround, you can try resetting the bar chart filter in the filter panel, like in the GIF. Does it help you?

 ![barchart_filter2](https://community.datagrok.ai/uploads/default/original/1X/f7b513dfca0b85fbfcb22e73bec862409da228a2.gif)

Also, we will add the requested functionality.

---

<div class="post-metadata">

**Author:** ![kdoncov](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/k/b3f665/32.png) [@kdoncov](https://community.datagrok.ai/u/kdoncov)\
**Post date:** [January 18, 2022, 1:38pm UTC](https://community.datagrok.ai/t/how-to-reset-barchart-stack-filtering/606/3 "2022-01-18T13:38:39Z")

</div>

Now clicking outside the bars will clear the bar chart filter

 ![outside_bars_click](https://community.datagrok.ai/uploads/default/original/1X/8ae5774bcb7ed9ed6aad2ff37eab7da2271445ca.gif)
