# Bar chart intervals by percentage

**URL:** <https://discuss.elastic.co/t/bar-chart-intervals-by-percentage/97129>\
**Category:** Kibana\
**Created:** [August 15, 2017, 4:15pm UTC](https://discuss.elastic.co/t/bar-chart-intervals-by-percentage/97129 "2017-08-15T16:15:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![leah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leah/32/21130_2.png) [@leah](https://discuss.elastic.co/u/leah)\
**Post date:** [August 15, 2017, 4:15pm UTC](https://discuss.elastic.co/t/bar-chart-intervals-by-percentage/97129/1 "2017-08-15T16:15:14Z")

</div>

Hi,

I am trying to create a chart that shows the percentage of the total for each interval (bar). I can do this using split series as seen here:

 ![percent_split_area](https://us1.discourse-cdn.com/elastic/original/3X/a/f/af911bfa26ccd63b7f78335b4c625cabc200bd88.png)  
The config:  
 ![config_split_area](https://us1.discourse-cdn.com/elastic/original/3X/2/0/20c4f42970d56b1fbd40abd296f887cd8e35a2dc.png)  
 ![config_split_area2](https://us1.discourse-cdn.com/elastic/original/3X/d/8/d887a9e782db854e7ab23cc738acd42009f68496.png)

But I want the bars labeled at the x-axis. This is another chart I created where the x-axis is what I want, but each bar is 100%.

 ![percent_x_axis](https://us1.discourse-cdn.com/elastic/original/3X/7/a/7a55302aa03460e8920640e98ed7fe2bc1fb2bb9.png)  
The config:  
 ![config_x_axis](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f78329341af8b61e6e9c78342bbc693a5990128.png)  
 ![config_x_axis2](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f995d8f205ba96692a1634a0a929113f3adcee0b.png)

Is there any way I can get the first chart with the proper percentages of total but have the x-axis as in the second chart?

Thanks!

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [August 16, 2017, 10:49pm UTC](https://discuss.elastic.co/t/bar-chart-intervals-by-percentage/97129/2 "2017-08-16T22:49:46Z")

</div>

I don't know of any way to get the split series labels to be by the bars. But you're the second person today I heard that wanted that! So I filed this enhancement request;

> <https://github.com/elastic/kibana/issues/13537>

Please take a look at it and if you have any comments please add them there.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [August 21, 2017, 11:52am UTC](https://discuss.elastic.co/t/bar-chart-intervals-by-percentage/97129/3 "2017-08-21T11:52:21Z")

</div>

you should disable percentage mode when you split by x axis, percentage mode only makes sense with split series, however split series will not label your x axis

---

<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:** [September 18, 2017, 11:52am UTC](https://discuss.elastic.co/t/bar-chart-intervals-by-percentage/97129/4 "2017-09-18T11:52:25Z")

</div>

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