# Radio-box selector to drive Histogram?

**URL:** <https://discuss.elastic.co/t/radio-box-selector-to-drive-histogram/27773>\
**Category:** Kibana\
**Created:** [August 20, 2015, 3:57pm UTC](https://discuss.elastic.co/t/radio-box-selector-to-drive-histogram/27773 "2015-08-20T15:57:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alancam73](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@alancam73](https://discuss.elastic.co/u/alancam73)\
**Post date:** [August 20, 2015, 3:57pm UTC](https://discuss.elastic.co/t/radio-box-selector-to-drive-histogram/27773/1 "2015-08-20T15:57:19Z")

</div>

hi folks,

At present I have a Kibana dashboard with a Terms panel driving a Histogram graph output. However I'd like to be able to select multiple entries (like a radio box) so that multiple lines will show on the Histogram. Note that the actual data is in a single column (from a SQL DB query) so doesnt seem like the same/known Kibana 3 limitation w/ multi field histograms. eg see below

timestamp Dataset BW\_UTILIZATION  
8/9/2015 0:00 A 14  
8/9/2015 0:00 B 25  
8/9/2015 0:00 C 33  
8/9/2015 0:05 A 16  
8/9/2015 0:05 B 22  
8/9/2015 0:05 C 31

I'd like to be able to select dataset A and it would plot a histogram of BW\_UTILIZATION against time, then add selection of B and it would overlay the data on the same histogram plot.

I've been able to achieve this by adding multiple query boxes (one for "A", one for "B" etc) - but its quite clumsy cos the actual Datasets in real-life have big long names - so i think my users copy-paste-patience will run out 😉

Any ideas on how to achieve this more cleanly?

Thanks, Alan

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [August 21, 2015, 5:29am UTC](https://discuss.elastic.co/t/radio-box-selector-to-drive-histogram/27773/2 "2015-08-21T05:29:32Z")

</div>

Alan - Does your question pertain to Kibana 3 or Kibana 4?

In Kibana4, it's quite easy to take a date histogram bar chart and split the bars by Terms based on another field (see screenshot). There is no corresponding functionality in Kibana 3 - you have to add individual queries to get a multi-layer bar chart.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/6c245f1c758c09413f3d93c6f68bd0a049b8b6a5.png)

---

<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, 2:14pm UTC](https://discuss.elastic.co/t/radio-box-selector-to-drive-histogram/27773/3 "2017-07-06T14:14:26Z")

</div>


