# Area chart can't read X-Axis config

**URL:** https://discuss.elastic.co/t/area-chart-cant-read-x-axis-config/71704
**Category:** Kibana
**Created:** [January 16, 2017, 9:41am UTC](https://discuss.elastic.co/t/area-chart-cant-read-x-axis-config/71704 "2017-01-16T09:41:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Super\_L](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Super\_L](https://discuss.elastic.co/u/Super_L)
#### Post date: [January 16, 2017, 9:41am UTC](https://discuss.elastic.co/t/area-chart-cant-read-x-axis-config/71704/1 "2017-01-16T09:41:01Z")

</div>

Hi all  
I create a area chart, but there are something wrong.

![](https://us1.discourse-cdn.com/elastic/original/2X/8/8b3031fd7d436f4f1ceb8ff279ef216ced9b0d0e.jpg)

pls help~

---

<div class="post-metadata">

### Author: ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)
#### Post date: [January 16, 2017, 11:57pm UTC](https://discuss.elastic.co/t/area-chart-cant-read-x-axis-config/71704/2 "2017-01-16T23:57:00Z")

</div>

You might only be matching a single document, which would cause only one point to show and create an empty area. Try zooming out and removing the `_type:20170116` filter from the query bar

---

<div class="post-metadata">

### Author: ![Super\_L](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Super\_L](https://discuss.elastic.co/u/Super_L)
#### Post date: [January 17, 2017, 2:53am UTC](https://discuss.elastic.co/t/area-chart-cant-read-x-axis-config/71704/3 "2017-01-17T02:53:24Z")

</div>

Thanks for your reply.  
I also think about that, but it did not work after removed the query.

Today I change the X-Axis as following pic

 ![](https://us1.discourse-cdn.com/elastic/original/2X/b/bf605776c690f6a3313b478f637b0e6f939f12cc.jpg)

I'm confusing~~

---

<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: [January 17, 2017, 12:32pm UTC](https://discuss.elastic.co/t/area-chart-cant-read-x-axis-config/71704/4 "2017-01-17T12:32:59Z")

</div>

in this case you are using term split for your x axis .... if you want to plot time based data you probably want date histogram for your X axis. But then you must make sure your time picker in the top right corner has a correct time range selected (where you actually have data)

area chart can only be drawn once we have two points .... you can first try to play with vertical bar chart, as it can be plotted even with just one data point.

---

<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: [February 14, 2017, 12:33pm UTC](https://discuss.elastic.co/t/area-chart-cant-read-x-axis-config/71704/5 "2017-02-14T12:33:07Z")

</div>

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