# Vision - half donut chart

**URL:** <https://forum.inductiveautomation.com/t/vision-half-donut-chart/72692>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [April 20, 2023, 9:36am UTC](https://forum.inductiveautomation.com/t/vision-half-donut-chart/72692 "2023-04-20T09:36:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.eichler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/john.eichler/32/24632_2.png) [@john.eichler](https://forum.inductiveautomation.com/u/john.eichler)\
**Post date:** [April 20, 2023, 9:36am UTC](https://forum.inductiveautomation.com/t/vision-half-donut-chart/72692/1 "2023-04-20T09:36:54Z")

</div>

Hi All

Does anyone know if it is possible to create a "half donut" style chart in Vision?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/1/e16ecfe03c7bd3247fcdf2f9ce734c0ddb0c2050.png)

I can create a full donut by simply adding a circle to the middle of a pie chart.

For a half donut, one method might be to append a "50%" line to the dataset so that the real data is compressed to one side of the pie chart. I think that this would result in incorrect labels or mouse overs and would have some wasted screen real-estate.

Is this possible with jfreechart or another solution?

Cheers

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [April 20, 2023, 10:01am UTC](https://forum.inductiveautomation.com/t/vision-half-donut-chart/72692/2 "2023-04-20T10:01:14Z")

</div>

All the jfree examples use a 50% method on a pie chart. Maybe something with a paintable canvas would be doable.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [April 20, 2023, 1:11pm UTC](https://forum.inductiveautomation.com/t/vision-half-donut-chart/72692/3 "2023-04-20T13:11:33Z")

</div>

Give this a try:

[SemiDonut\_Canvas\_2023-04-20\_0846.zip](https://forum.inductiveautomation.com/uploads/short-url/mV1IoY68H8iVBF7q3NccbmSYiuc.zip) (9.7 KB)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/4491214bf664a56169b50cd51528440a6284ca2f.png)

---

<div class="post-metadata">

**Author:** ![john.eichler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/john.eichler/32/24632_2.png) [@john.eichler](https://forum.inductiveautomation.com/u/john.eichler)\
**Post date:** [May 2, 2023, 3:32am UTC](https://forum.inductiveautomation.com/t/vision-half-donut-chart/72692/4 "2023-05-02T03:32:27Z")

</div>

Thanks @JordanCClark! I will give this a test later in the week.

Cheers

---

<div class="post-metadata">

**Author:** ![john.eichler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/john.eichler/32/24632_2.png) [@john.eichler](https://forum.inductiveautomation.com/u/john.eichler)\
**Post date:** [May 29, 2023, 4:40am UTC](https://forum.inductiveautomation.com/t/vision-half-donut-chart/72692/5 "2023-05-29T04:40:34Z")

</div>

@JordanCClark . Thanks so much for this. It works very well. I initially spent ages trying to work out why the centre ellipse was not showing, then realised that the background colour was set to transparent. Facepalm...
