# XY Chart a reference value

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-a-reference-value/109404>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 5, 2025, 8:21pm UTC](https://forum.inductiveautomation.com/t/xy-chart-a-reference-value/109404 "2025-08-05T20:21:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imt.sebastian.sanche](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@imt.sebastian.sanche](https://forum.inductiveautomation.com/u/imt.sebastian.sanche)\
**Post date:** [August 5, 2025, 8:21pm UTC](https://forum.inductiveautomation.com/t/xy-chart-a-reference-value/109404/1 "2025-08-05T20:21:44Z")

</div>

Hello, I have a project where I'm querying a table and showing the data in a XY chart, so far that has gone great but I wanted to also show a median and average line for reference.

I tried adding an average and median series but the X axis is giving me issues since it won't plot the whole graph as I would like it to. Is there a trick to plot a reference value or a single item for the full length of the chart?

---

<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 5, 2025, 10:14pm UTC](https://forum.inductiveautomation.com/t/xy-chart-a-reference-value/109404/2 "2025-08-05T22:14:41Z")

</div>

With an XY line chart it's fairly easy.

- Each additional line requires two points,
  - x1 = minimum x-value in the main data series.
  - y1 = median or average value.
  - x2 = maximum x-value in the main data series.
  - y2 = y1.
