# Kibana keeps displaying notice about area charts and null values even after I change the chart type

**URL:** <https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094>\
**Category:** Kibana\
**Created:** [November 9, 2017, 7:03pm UTC](https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094 "2017-11-09T19:03:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshroads](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@pshroads](https://discuss.elastic.co/u/pshroads)\
**Post date:** [November 9, 2017, 7:03pm UTC](https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094/1 "2017-11-09T19:03:25Z")

</div>

I'm on elasticsearch and kibana 6.0.0-rc2. After creating some area graphs I get the notice

`Parts of or the entire area chart might not be displayed due to null values in the data. A line chart is recommended when displaying data with null values.`

So I tried changing the chart type to both bar and line but the message persists. I'm hoping I don't have to delete the visualization all together and redo it.

Thanks

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [November 10, 2017, 4:01am UTC](https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094/2 "2017-11-10T04:01:14Z")

</div>

Hmmm, let's see if we can get to the bottom of this. Could you share a screenshot of your visualization configuration?

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![pshroads](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@pshroads](https://discuss.elastic.co/u/pshroads)\
**Post date:** [November 10, 2017, 1:45pm UTC](https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094/3 "2017-11-10T13:45:13Z")

</div>

I think I see whats happening. This happened after I added some new fields to my index and started populating them with data. If I'm graphing a timeframe that includes the time before those fields were added then they are in fact null and thus the message appears. If I change the timeframe to only include the time after I started populating those new fields then the message goes away. So I'm not sure how that situation should be handled by kibana.

On a related note, I see that the type listed on the visualization page does not change even after I change the type in the visualization its self. For example if I create an area graph and then go back and change it to a line graph it still shows as being an area graph on the visualizations page. Perhaps thats why the message about null data kept displaying even after I changed the chart type?

 ![53 AM](https://us1.discourse-cdn.com/elastic/original/3X/c/f/cf10ccd2aa95951c81874e383cc3720b0c4dbb3a.png)

Here's a screenshot of the graph.

Thanks for your help!

Patrick

---

<div class="post-metadata">

**Author:** ![pshroads](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@pshroads](https://discuss.elastic.co/u/pshroads)\
**Post date:** [November 10, 2017, 1:46pm UTC](https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094/4 "2017-11-10T13:46:53Z")

</div>

And here you can see that the visualization is listed as being an area since that what it was when I created it whereas its in fact now a bar and line graph.

 ![49 AM](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67508ca044ed9ec8c3cd7ad0a4504de46be1810e.png)

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [November 10, 2017, 7:02pm UTC](https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094/5 "2017-11-10T19:02:54Z")

</div>

Ah ha! Thanks for figuring this out and sharing this with me. This is immensely helpful. I'm not sure why that message persists but it's definitely a confusing message in this context. I've created two issues which you can subscribe to if you want to track our progress towards addressing them:

- [https://github.com/elastic/kibana/issues/11331](https://github.com/elastic/kibana/issues/11331)
- [https://github.com/elastic/kibana/issues/14905](https://github.com/elastic/kibana/issues/14905)

Thanks again!

CJ

---

<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:** [December 8, 2017, 7:02pm UTC](https://discuss.elastic.co/t/kibana-keeps-displaying-notice-about-area-charts-and-null-values-even-after-i-change-the-chart-type/107094/6 "2017-12-08T19:02:57Z")

</div>

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