# Pie chart visualization

**URL:** <https://discuss.elastic.co/t/pie-chart-visualization/265022>\
**Category:** Kibana\
**Created:** [February 22, 2021, 2:32am UTC](https://discuss.elastic.co/t/pie-chart-visualization/265022 "2021-02-22T02:32:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saintjohn](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@saintjohn](https://discuss.elastic.co/u/saintjohn)\
**Post date:** [February 22, 2021, 2:32am UTC](https://discuss.elastic.co/t/pie-chart-visualization/265022/1 "2021-02-22T02:32:46Z")

</div>

Hi experts,

I'm creating a pie chart as below(labels hidden) but struggling with the following 2 points.  
Could you please advise?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/3/435ac7c41ba82d64171b4be69fdcd9fe586de981.png)

1. The chart is sliced as descended in anticlockwise manner. I would like to order them in clock  
wise manner but how? I selected both "Order direction" as both descending and ascending but did not work.
2. Smaller slices is getting darker color. I would like to have them in opposite way(lager slices get darker coloer) but how?

Best Regards,  
John

---

<div class="post-metadata">

**Author:** ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Post date:** [February 22, 2021, 5:10am UTC](https://discuss.elastic.co/t/pie-chart-visualization/265022/2 "2021-02-22T05:10:10Z")

</div>

1. AFAIK - cannot set the "growth" direction.
2. You can press the legend and set your own colours.  
Cheers!

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [February 22, 2021, 7:50pm UTC](https://discuss.elastic.co/t/pie-chart-visualization/265022/3 "2021-02-22T19:50:20Z")

</div>

I don't think you specified which part of Kibana you created this pie chart in, but it looks like it might be in Lens. If that's the case, then you can't reverse the order.

If it's not Lens, maybe it's using Canvas. In canvas you can edit the expression directly and add `reverse=true` to the palette definition.

---

<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:** [March 22, 2021, 7:51pm UTC](https://discuss.elastic.co/t/pie-chart-visualization/265022/4 "2021-03-22T19:51:06Z")

</div>

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