# XY Chart - adding batch labels

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-adding-batch-labels/78428>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 27, 2023, 1:52pm UTC](https://forum.inductiveautomation.com/t/xy-chart-adding-batch-labels/78428 "2023-08-27T13:52:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 27, 2023, 7:10pm UTC](https://forum.inductiveautomation.com/t/xy-chart-adding-batch-labels/78428/2 "2023-08-27T19:10:40Z")

</div>

It seems that my best shot is,

- Create a batch-number dataset with (t\_stamp, number) pairs. Number is in sequence 1, 2, 3, etc.
- Create another y-axis. I set the axis range to very large numbers so that the difference in vertical position of my batch numbers is not discernable. In my case I made it `max : 1000` and `min : -10000`. This forces the zero line above the top of my other charts.
- Add another series and set it to line. Bind it to the batch-number dataset.

---

_[View the full topic](https://forum.inductiveautomation.com/t/xy-chart-adding-batch-labels/78428)._
