# How can we combine the labels in XY Chart

**URL:** <https://forum.inductiveautomation.com/t/how-can-we-combine-the-labels-in-xy-chart/103599>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [March 12, 2025, 7:20pm UTC](https://forum.inductiveautomation.com/t/how-can-we-combine-the-labels-in-xy-chart/103599 "2025-03-12T19:20:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farhan\_Basheer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/farhan_basheer/32/66759_2.png) [@Farhan\_Basheer](https://forum.inductiveautomation.com/u/Farhan_Basheer)\
**Post date:** [March 12, 2025, 7:20pm UTC](https://forum.inductiveautomation.com/t/how-can-we-combine-the-labels-in-xy-chart/103599/1 "2025-03-12T19:20:52Z")

</div>

Can we combine the labels that appear on each bar when we hover the mouse into a single textbox?  
Currently I have this:

 ![XY Chart](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/c/ec54040bf4a6e262c2e16b4ad3a389417c8c3048.png)

And I want to combine it into one text box like this.

 ![Time series chart](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/ab21f3859295b9788578a3b22a74f4dab763881a.jpeg)

---

<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 12, 2025, 7:40pm UTC](https://forum.inductiveautomation.com/t/how-can-we-combine-the-labels-in-xy-chart/103599/2 "2025-03-12T19:40:26Z")

</div>

I don't think you can. You're really looking for an X-trace, but the XY Chart doesn't have one. You can have a read of some of the features I worked out in [Perspective XY Chart xAxes tooltip text {dateX}](https://forum.inductiveautomation.com/t/perspective-xy-chart-xaxes-tooltip-text-datex/53580).

You could investigate Apex Charts and [Musson Industrial’s Embr-Charts Module](https://forum.inductiveautomation.com/t/musson-industrial-s-embr-charts-module/91618/162) both of which are discussed frequently on the forum - but I haven't tried either.

---

<div class="post-metadata">

**Author:** ![Farhan\_Basheer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/farhan_basheer/32/66759_2.png) [@Farhan\_Basheer](https://forum.inductiveautomation.com/u/Farhan_Basheer)\
**Post date:** [March 12, 2025, 7:55pm UTC](https://forum.inductiveautomation.com/t/how-can-we-combine-the-labels-in-xy-chart/103599/3 "2025-03-12T19:55:13Z")

</div>

Thanks to you, I made it work with the tool tip text feature.

```python
{name}: [bold]{valueY}[/]
Total Transfer:[bold]{Total_Transfer_Time}[/]
OP: [bold]{BrassTag}[/]

```

---

<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 12, 2025, 8:00pm UTC](https://forum.inductiveautomation.com/t/how-can-we-combine-the-labels-in-xy-chart/103599/4 "2025-03-12T20:00:32Z")

</div>

Oh, I don't think I had figured that you could refer to other columns in a series' tooltip. Nice! Are you adding that tooltip configuration to each `series.x.tooltip.text`?

If that works I think you should add it to my linked post.

---

<div class="post-metadata">

**Author:** ![Farhan\_Basheer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/farhan_basheer/32/66759_2.png) [@Farhan\_Basheer](https://forum.inductiveautomation.com/u/Farhan_Basheer)\
**Post date:** [March 12, 2025, 8:03pm UTC](https://forum.inductiveautomation.com/t/how-can-we-combine-the-labels-in-xy-chart/103599/5 "2025-03-12T20:03:43Z")

</div>

Yes exactly in each `series.x.tooltip.text`

And Yes I will add it into your linked post.
