# Pie Chart with time in hover

**URL:** <https://forum.inductiveautomation.com/t/pie-chart-with-time-in-hover/87837>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 25, 2024, 1:50pm UTC](https://forum.inductiveautomation.com/t/pie-chart-with-time-in-hover/87837 "2024-03-25T13:50:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Spachinger](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@Thomas\_Spachinger](https://forum.inductiveautomation.com/u/Thomas_Spachinger)\
**Post date:** [March 25, 2024, 1:50pm UTC](https://forum.inductiveautomation.com/t/pie-chart-with-time-in-hover/87837/1 "2024-03-25T13:50:26Z")

</div>

Hi,  
i have a pie chart component where i show the status of selected equipment based on seconds. Is there a possibility to display the value (like 312458 seconds) in a for the enduser better readable format (like 111:23:59:59 (ddd:hh:mm:ss))?  
Was thinking about to handle it via a css stylesheet, but am hoping, that there is a better praxis to that.  
Thomas

---

<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:** [March 25, 2024, 2:58pm UTC](https://forum.inductiveautomation.com/t/pie-chart-with-time-in-hover/87837/2 "2024-03-25T14:58:14Z")

</div>

AM Charts (on which Pie Chart is based) probably supports it but I suspect that it's not made available by Ignition. Here's a hack.

1. Turn off the value dispaly on the chart slices.  
`labels.showValue : false`
2. Create a binding on each of the data categories.

 ![Pie chart days hh mm ss](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/0/901062047e556d5089e5b070e98983e2e17a49b8.png)

1. `showLegend : false`  
Otherwise you get the messy legends below the chart as shown in my screengrab.
