# Pie Chart Label sizes

**URL:** <https://root-forum.cern.ch/t/pie-chart-label-sizes/36637>\
**Category:** Newbie\
**Created:** [November 2, 2019, 2:26am UTC](https://root-forum.cern.ch/t/pie-chart-label-sizes/36637 "2019-11-02T02:26:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![makor](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/makor/32/20150_2.png) [@makor](https://root-forum.cern.ch/u/makor)\
**Post date:** [November 2, 2019, 2:26am UTC](https://root-forum.cern.ch/t/pie-chart-label-sizes/36637/1 "2019-11-02T02:26:43Z")

</div>

Hi all,  
how can I change the label size of slices of a pie chart?  
Cheers  
Max

---

<div class="post-metadata">

**Author:** ![StephanH](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@StephanH](https://root-forum.cern.ch/u/StephanH)\
**Post date:** [November 4, 2019, 7:31am UTC](https://root-forum.cern.ch/t/pie-chart-label-sizes/36637/2 "2019-11-04T07:31:40Z")

</div>

Hi,

@couet might be able to help.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 4, 2019, 9:42am UTC](https://root-forum.cern.ch/t/pie-chart-label-sizes/36637/3 "2019-11-04T09:42:53Z")

</div>

```auto
pie->SetTextSize(...);

```

---

<div class="post-metadata">

**Author:** ![makor](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/makor/32/20150_2.png) [@makor](https://root-forum.cern.ch/u/makor)\
**Post date:** [November 5, 2019, 1:31pm UTC](https://root-forum.cern.ch/t/pie-chart-label-sizes/36637/4 "2019-11-05T13:31:00Z")

</div>

Thank you for your reply, I will try this and come back to you!

---

<div class="post-metadata">

**Author:** ![makor](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/makor/32/20150_2.png) [@makor](https://root-forum.cern.ch/u/makor)\
**Post date:** [November 5, 2019, 1:35pm UTC](https://root-forum.cern.ch/t/pie-chart-label-sizes/36637/5 "2019-11-05T13:35:33Z")

</div>

Works perfectly fine, however, what is the logic behind the magnitude of the float input to SetTextSize(…) ?  
I had to put a value of 0.025 in order to get a good result.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 5, 2019, 3:27pm UTC](https://root-forum.cern.ch/t/pie-chart-label-sizes/36637/6 "2019-11-05T15:27:27Z")

</div>

It is a normalised value. Like TText
