# Normalize data in a stacked bar chart

**URL:** https://discuss.elastic.co/t/normalize-data-in-a-stacked-bar-chart/187523
**Category:** Kibana
**Created:** [June 26, 2019, 8:54am UTC](https://discuss.elastic.co/t/normalize-data-in-a-stacked-bar-chart/187523 "2019-06-26T08:54:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jrplus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jrplus/32/41302_2.png) [@jrplus](https://discuss.elastic.co/u/jrplus)
#### Post date: [June 26, 2019, 8:54am UTC](https://discuss.elastic.co/t/normalize-data-in-a-stacked-bar-chart/187523/1 "2019-06-26T08:54:52Z")

</div>

Basically given the following data:

Purple: 3 alerts out of 8 (37.5%)  
Pink: 4 alerts out of 10 (40%)  
White: 1 alert out of 2 (50%)

I want to display the percentages in a stacked bar chart like this.  
Where the Y-Axis has the percentages in raw format: 37.5% = 0.375, 40% = 0.4, 50% = 0.5  
 ![NormalizedISP](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee9eb3cd308fcdd84345a524349c4aabdccf809e.png)

can it be done?

---

<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 24, 2019, 8:54am UTC](https://discuss.elastic.co/t/normalize-data-in-a-stacked-bar-chart/187523/2 "2019-07-24T08:54:53Z")

</div>

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