# Pie chart visualization not working

**URL:** <https://community.grafana.com/t/pie-chart-visualization-not-working/2623>\
**Category:** Elasticsearch\
**Created:** [September 6, 2017, 10:08am UTC](https://community.grafana.com/t/pie-chart-visualization-not-working/2623 "2017-09-06T10:08:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luvpreet](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@luvpreet](https://community.grafana.com/u/luvpreet)\
**Post date:** [September 6, 2017, 10:08am UTC](https://community.grafana.com/t/pie-chart-visualization-not-working/2623/1 "2017-09-06T10:08:07Z")

</div>

I am trying to view data about some bookings.

I want to get pie chart visual of the data where each slice of pie tells about number of bookings done under different plans.

 ![Screenshot from 2017-09-06 15-26-42](https://us1.discourse-cdn.com/grafana/original/2X/7/7179e36abbd40f75aeb4a0b753e285ab212eaa22.png)

Look at the error sign in the top left corner. It says, \*\*this.datapoints[a][1] is undefined  
\*\*

What is the error ?

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [September 7, 2017, 7:53am UTC](https://community.grafana.com/t/pie-chart-visualization-not-working/2623/2 "2017-09-07T07:53:50Z")

</div>

looks like your query is not including a date histogram, think the pie chart panel only works with time series

---

<div class="post-metadata">

**Author:** ![luvpreet](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@luvpreet](https://community.grafana.com/u/luvpreet)\
**Post date:** [September 7, 2017, 8:32am UTC](https://community.grafana.com/t/pie-chart-visualization-not-working/2623/3 "2017-09-07T08:32:41Z")

</div>

So, is there any kind of progress being made in the pie chart plugin to make this thing work ?

I mean this is kind of a general requirement .

---

<div class="post-metadata">

**Author:** ![luvpreet](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@luvpreet](https://community.grafana.com/u/luvpreet)\
**Post date:** [September 7, 2017, 9:02am UTC](https://community.grafana.com/t/pie-chart-visualization-not-working/2623/4 "2017-09-07T09:02:32Z")

</div>

Is there any issue open for this feature ?
