# show percentage in vtk Pie chart

**URL:** https://discourse.vtk.org/t/show-percentage-in-vtk-pie-chart/4973
**Category:** Development
**Created:** [January 9, 2021, 7:43pm UTC](https://discourse.vtk.org/t/show-percentage-in-vtk-pie-chart/4973 "2021-01-09T19:43:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nina](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/n/e68b1a/32.png) [@Nina](https://discourse.vtk.org/u/Nina)
#### Post date: [January 9, 2021, 7:43pm UTC](https://discourse.vtk.org/t/show-percentage-in-vtk-pie-chart/4973/1 "2021-01-09T19:43:08Z")

</div>

Hi;

How can I display pourcentage in a pie chart using vtk.

I followed this exemple, but I also want display data on pie chart.

[https://vtk.org/Wiki/VTK/Examples/Cxx/Plotting/PieChart](https://vtk.org/Wiki/VTK/Examples/Cxx/Plotting/PieChart)

Thank’s in advance

---

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [January 11, 2021, 8:59am UTC](https://discourse.vtk.org/t/show-percentage-in-vtk-pie-chart/4973/2 "2021-01-11T08:59:15Z")

</div>

That site is obsolete. This site [vtk-examples](https://kitware.github.io/vtk-examples/site/) in particular [PieChart](https://kitware.github.io/vtk-examples/site/Cxx/Plotting/PieChart/) provide much better examples.  
Also look at [PieChartActor](https://kitware.github.io/vtk-examples/site/Cxx/Plotting/PieChartActor/)
