# Creating Multiple Line Charts(beginner)

**URL:** https://discuss.elastic.co/t/creating-multiple-line-charts-beginner/24920
**Category:** Kibana
**Created:** [July 6, 2015, 4:35am UTC](https://discuss.elastic.co/t/creating-multiple-line-charts-beginner/24920 "2015-07-06T04:35:53Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [July 6, 2015, 9:17pm UTC](https://discuss.elastic.co/t/creating-multiple-line-charts-beginner/24920/2 "2015-07-06T21:17:04Z")

</div>

You can get something close to what you describe.

1. In Visualize, select Line Chart
2. For Y-Axis, select "Average", then select PRICE -- note, you can't plot the exact prices, it has to be some bucketing function
3. In X-Axis, select "Date Histogram", then select CHK\_IN\_DATE
4. Then select "Add Sub-Buckets", select "Split Lines", select "Terms", select "SOURCE\_SITE\_C"

You should get something similar to the screenshot below.

If your graph ends up being too messy with more lines than you expected, switch the order of steps 3 and 4 (or just use the arrow keys to switch the order of operations, see this [blog](https://www.elastic.co/blog/kibana-aggregation-execution-order-and-you) for explanation)

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

---

_[View the full topic](https://discuss.elastic.co/t/creating-multiple-line-charts-beginner/24920)._
