# How to display values above columns in XY Chart?

**URL:** <https://forum.inductiveautomation.com/t/how-to-display-values-above-columns-in-xy-chart/41337>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [December 9, 2020, 1:14pm UTC](https://forum.inductiveautomation.com/t/how-to-display-values-above-columns-in-xy-chart/41337 "2020-12-09T13:14:53Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Eric\_Meyer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/eric_meyer/32/72323_2.png) [@Eric\_Meyer](https://forum.inductiveautomation.com/u/Eric_Meyer)\
**Post date:** [March 19, 2025, 6:21pm UTC](https://forum.inductiveautomation.com/t/how-to-display-values-above-columns-in-xy-chart/41337/21 "2025-03-19T18:21:35Z")

</div>

That works. Thanks! I hadn't done much with in-line CSS yet. There is a little bit on this subject in the tooltipFormat Formatting Options section of this Ignition manual page:

[Perspective - Pie Chart | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-chart-palette/perspective-pie-chart#tooltipformat-formatting-options)

---

<div class="post-metadata">

**Author:** ![jayachandran.m](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@jayachandran.m](https://forum.inductiveautomation.com/u/jayachandran.m)\
**Post date:** [October 30, 2025, 7:18am UTC](https://forum.inductiveautomation.com/t/how-to-display-values-above-columns-in-xy-chart/41337/23 "2025-10-30T07:18:09Z")

</div>

Hi everyone, i was able to get the label above the bars of the XY chart. But when the number of categories changes the offset i provided didn’t fit for it. Say if i correctly keep the position ( dx, dy ) for 3 number category chart then for 5 number category chart, position does match. Do anyone know how to fix this.

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

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f79e3fd74c3762b93969145be8dc04b64b8ad7c5.png)

[Previous page](https://forum.inductiveautomation.com/t/how-to-display-values-above-columns-in-xy-chart/41337.md?page=1)
