# XY stacked bar chart add labels to bars

**URL:** <https://forum.inductiveautomation.com/t/xy-stacked-bar-chart-add-labels-to-bars/101337>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 24, 2025, 10:55am UTC](https://forum.inductiveautomation.com/t/xy-stacked-bar-chart-add-labels-to-bars/101337 "2025-01-24T10:55:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmadariaga](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmadariaga/32/63201_2.png) [@mmadariaga](https://forum.inductiveautomation.com/u/mmadariaga)\
**Post date:** [January 24, 2025, 10:55am UTC](https://forum.inductiveautomation.com/t/xy-stacked-bar-chart-add-labels-to-bars/101337/1 "2025-01-24T10:55:10Z")

</div>

I want to add labels inside stacked bar charts in an XY chart. I've tried this: [How to display values above columns in XY Chart? - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/how-to-display-values-above-columns-in-xy-chart/41337/14)

Changing dx and dy of line.appearance.bullets[0].label.position works with the first line, but the problem is that the red line starting position depends on the value. I want the label of the red bar to be placed after the blue bar.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/6/06ce3901f2cd0695e9844c1c6d704a75470eae2d.png)
