# Displaying a pie chart in email

**URL:** <https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [November 26, 2025, 4:08am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439 "2025-11-26T04:08:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjanakrishnamurthy](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjanakrishnamurthy](https://forum.inductiveautomation.com/u/sanjanakrishnamurthy)\
**Post date:** [November 26, 2025, 4:08am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/1 "2025-11-26T04:08:08Z")

</div>

Hi,

Is there any way to send a piechart through email (sent using system.net.sendEmail) using html code?

Thanks!

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [November 26, 2025, 4:15am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/2 "2025-11-26T04:15:00Z")

</div>

Maybe you can create a report with the pie chart showing the data that you want it to show and email that.

---

<div class="post-metadata">

**Author:** ![sanjanakrishnamurthy](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjanakrishnamurthy](https://forum.inductiveautomation.com/u/sanjanakrishnamurthy)\
**Post date:** [November 26, 2025, 4:35am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/3 "2025-11-26T04:35:14Z")

</div>

this worked

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/5/d51e9c9ab1f5ea4597a02625dfb9293f97fdb2d2.png)

…but the watermark

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/d/0d65c52536626b1a12ced08f528bdf3883b0ada6.png)

Any way to do this without the report module?

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [November 26, 2025, 4:52am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/4 "2025-11-26T04:52:07Z")

</div>

The watermark won't be there if you activate ignition licence for reporting module.  
I'm not sure if there is another way to do this.

---

<div class="post-metadata">

**Author:** ![sanjanakrishnamurthy](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjanakrishnamurthy](https://forum.inductiveautomation.com/u/sanjanakrishnamurthy)\
**Post date:** [November 26, 2025, 5:34am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/5 "2025-11-26T05:34:36Z")

</div>

Was thinking of:

Generating piechart in a screen —\> End of every week, automatically taking a snapshot of the piechart component —\> store image in gateway –\> send image through the img tag

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [November 26, 2025, 7:27am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/6 "2025-11-26T07:27:24Z")

</div>

How do you take the snapshopt automatically by the end of every week?

---

<div class="post-metadata">

**Author:** ![sanjanakrishnamurthy](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjanakrishnamurthy](https://forum.inductiveautomation.com/u/sanjanakrishnamurthy)\
**Post date:** [November 26, 2025, 7:43am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/7 "2025-11-26T07:43:12Z")

</div>

No idea

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 26, 2025, 11:59am UTC](https://forum.inductiveautomation.com/t/displaying-a-pie-chart-in-email/112439/8 "2025-11-26T11:59:42Z")

</div>

> [@sanjanakrishnamurthy](#):
>
> Was thinking of:  
> Generating piechart in a screen...

Perspective scripts run on the gateway and it doesn't have a "screen". Only the clients do.

You could look for a Python 2.7 way of generating a PNG pie chart from your data and embed that in your email.

Figure out how many hours that's going to take, multiply by your hourly rate and compare against the cost of the reporting module (which you'll probably use many times once you have it).
