# Create Vertical Bar Chart with 2 bars for each day

**URL:** https://discuss.elastic.co/t/create-vertical-bar-chart-with-2-bars-for-each-day/50714
**Category:** Kibana
**Created:** [May 23, 2016, 12:36pm UTC](https://discuss.elastic.co/t/create-vertical-bar-chart-with-2-bars-for-each-day/50714 "2016-05-23T12:36:52Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![chenbe2204](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@chenbe2204](https://discuss.elastic.co/u/chenbe2204)
#### Post date: [May 24, 2016, 5:37am UTC](https://discuss.elastic.co/t/create-vertical-bar-chart-with-2-bars-for-each-day/50714/3 "2016-05-24T05:37:07Z")

</div>

Hi ,  
What I need to choose in the Y-Axis Aggregation ? I tried sum of git\_commit and another Y-Axis of sum aggregation for rb\_commits.  
At the X-Axis I choose Data histogram and Daily interval.  
Can you explain how I need to configure this Chart ?

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/875b57ba5b20776ec8e22405cc4983b718a302ab.png)  
I also tries to put a scripted field of rb\_commits+git\_commits at the Y-Axis , but I don't how to separate the column to 2 lines for the same day.  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/a/aa460f375e2f10a366720f83553e54b08ce4accf.png)

Thanks 🙂  
Chen

---

_[View the full topic](https://discuss.elastic.co/t/create-vertical-bar-chart-with-2-bars-for-each-day/50714)._
