# Perspective XYChart Tooltip Math amCharts

**URL:** <https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-math-amcharts/88986>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 17, 2024, 4:16pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-math-amcharts/88986 "2024-04-17T16:16:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zach\_Larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zach_larson/32/54388_2.png) [@Zach\_Larson](https://forum.inductiveautomation.com/u/Zach_Larson)\
**Post date:** [April 17, 2024, 4:16pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-math-amcharts/88986/1 "2024-04-17T16:16:55Z")

</div>

In the tooltip on the XYCharts, can I do math in the tooltips?

Or do I need to make a series that has the numbers I need to show, then point at that value in the tooltip?

I mean I know I can call low, high, and average functions in the tooltip.  
Can I divide one of the values by a constant?

---

<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:** [April 17, 2024, 5:15pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-math-amcharts/88986/2 "2024-04-17T17:15:13Z")

</div>

I don't think that AM Charts support that themselves so there would be no capabilities for IA to expose to Ignition developers.

[https://www.amcharts.com/docs/v5/concepts/common-elements/tooltips/](https://www.amcharts.com/docs/v5/concepts/common-elements/tooltips/)

---

<div class="post-metadata">

**Author:** ![Zach\_Larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zach_larson/32/54388_2.png) [@Zach\_Larson](https://forum.inductiveautomation.com/u/Zach_Larson)\
**Post date:** [April 17, 2024, 5:39pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-math-amcharts/88986/3 "2024-04-17T17:39:45Z")

</div>

Thanks Transistor, I thought that might be the case.

I think in another project I had bound the tooltip text to backdoor the math into the tooltip.  
I think for my current project, I will probably make a hidden series to reference in the tooltip.
