# Add custom property value to XY Chart tooltip text

**URL:** <https://forum.inductiveautomation.com/t/add-custom-property-value-to-xy-chart-tooltip-text/117101>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [September 16, 2026, 12:51pm UTC](https://forum.inductiveautomation.com/t/add-custom-property-value-to-xy-chart-tooltip-text/117101 "2026-09-16T12:51:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewis](https://avatars.discourse-cdn.com/v4/letter/l/e9bcb4/32.png) [@Lewis](https://forum.inductiveautomation.com/u/Lewis)\
**Post date:** [September 16, 2026, 12:51pm UTC](https://forum.inductiveautomation.com/t/add-custom-property-value-to-xy-chart-tooltip-text/117101/1 "2026-09-16T12:51:57Z")

</div>

I am trying to format the tooltip text so that I can add a dynamic text value that is setup in the Custom properties. Currently the tooltip text only shows the Y value.

 ![Screenshot 2026-09-16 084822](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/d/4d5d6d4d22cdbdf464440beb0a48e350366c5281.png)

 ![Picture1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/8/d82283dc9e1db1d87c2c2a1084d564e7381b50c9.png)

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [September 16, 2026, 1:03pm UTC](https://forum.inductiveautomation.com/t/add-custom-property-value-to-xy-chart-tooltip-text/117101/2 "2026-09-16T13:03:25Z")

</div>

Use an expression binding to get the `timeUnit` value and concatenate it into your string.

expression:

```python
'{name}: [bold]{valueY} ' + {this.custom.timeUnit} + '[/]' 

```

---

<div class="post-metadata">

**Author:** ![Lewis](https://avatars.discourse-cdn.com/v4/letter/l/e9bcb4/32.png) [@Lewis](https://forum.inductiveautomation.com/u/Lewis)\
**Post date:** [September 16, 2026, 1:29pm UTC](https://forum.inductiveautomation.com/t/add-custom-property-value-to-xy-chart-tooltip-text/117101/3 "2026-09-16T13:29:55Z")

</div>

Thanks, this worked. I had tried the expression method previously, but must not have had the formatting correct.
