# Get selected portion Data of Pie Chart

**URL:** <https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849>\
**Category:** Ignition\
**Tags:** ignition80, perspective, scripting\
**Created:** [October 12, 2021, 7:53am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849 "2021-10-12T07:53:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [October 12, 2021, 7:53am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/1 "2021-10-12T07:53:52Z")

</div>

Hello All,

Is there any event (I did not get any on component) which could give me selected portion data of Pie chart in Perspective?

I would like to pass selected data value as a Query parameter to anther data linked to XY-Chart. Please let me know if its possible to achieve.  
I would also like to do similar approach to XY-Chart . Thanks in advance.

Ignition version: 8.1.1  
Perspective Module

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 12, 2021, 8:57am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/2 "2021-10-12T08:57:19Z")

</div>

they added some of those events in a more recent version

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [October 12, 2021, 9:19am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/3 "2021-10-12T09:19:25Z")

</div>

Okay thanks for the update! Seems I don’t have an option than using repeater component to populate instances on selection.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 12, 2021, 9:30am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/4 "2021-10-12T09:30:07Z")

</div>

why dont you just upgrade? there shouldnt rly be a problem upgrading from 8.1.1 to 8.1.10 (take a backup to be safe tho)

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [October 14, 2021, 9:29pm UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/5 "2021-10-14T21:29:31Z")

</div>

I did propose this earlier but the production team is not ready for this! They don’t want anything to stop their production.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 15, 2021, 6:36am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/6 "2021-10-15T06:36:29Z")

</div>

I am actually in development for a module that detects clicks on components (mainly aimed at svg) for @nader.chinichian but this should also work for pie charts be it a bit harder to use as its a more complex structure. Its not finished yet to be sold to other parties but maybe we can speed it along if you are interested in buying it, if the production team values their production time more than buying the module 😛

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [October 19, 2021, 10:52am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/7 "2021-10-19T10:52:01Z")

</div>

Haha that’s nice marketing approach 😄

Finally we got a day to upgrade Ignition version. Just wanted to know what things would affect when upgrading from **8.1.1** to **8.1.10**.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 19, 2021, 10:56am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/8 "2021-10-19T10:56:18Z")

</div>

i tried 😛

nothing should be affected 8.1.1 is compatible with 8.1.10 but just take a backup incase

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [October 19, 2021, 10:59am UTC](https://forum.inductiveautomation.com/t/get-selected-portion-data-of-pie-chart/51849/9 "2021-10-19T10:59:18Z")

</div>

Okay thanks. Will do that before update.

I will wait 4-5 days more to see if IA releases **8.1.11** which was planned mid week of October.
