# XYChart scrollbar issue - extra X-axis labels showing up

**URL:** <https://forum.inductiveautomation.com/t/xychart-scrollbar-issue-extra-x-axis-labels-showing-up/73380>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 8, 2023, 4:02am UTC](https://forum.inductiveautomation.com/t/xychart-scrollbar-issue-extra-x-axis-labels-showing-up/73380 "2023-05-08T04:02:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Baker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jay_baker/32/35448_2.png) [@Jay\_Baker](https://forum.inductiveautomation.com/u/Jay_Baker)\
**Post date:** [May 8, 2023, 4:03am UTC](https://forum.inductiveautomation.com/t/xychart-scrollbar-issue-extra-x-axis-labels-showing-up/73380/1 "2023-05-08T04:03:00Z")

</div>

I've got a little stacked bar graph which shows plant state over time, with a scrollbar to zoom in with:

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

On first loading the page, it works great. However - when I refresh the source data (which happens via a binding on the data source, either timed or triggered on selection change), I get the X-axis labels showing up in the scrollbar section:

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

This is a little odd, but wouldn't be the end of the world, except that if I change the source data to show a shorter date range (using a date select box, not shown here), the extra X-axis labels stay at the maximum duration (they don't adjust for the new, shorter, data), making the graph very confusing:

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

(Note, going the other way - making the date range longer - DOES adjust the axis correctly).

Turning off either the scrollbars or the X-axis labels seems to stop the issue, but then I lose useful functionality. I just want to get that extra X-axis label in the scroll/zoom area to stop showing up at all...any ideas?

---

<div class="post-metadata">

**Author:** ![Gurnur\_Rai](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gurnur_rai/32/38600_2.png) [@Gurnur\_Rai](https://forum.inductiveautomation.com/u/Gurnur_Rai)\
**Post date:** [May 16, 2023, 10:31pm UTC](https://forum.inductiveautomation.com/t/xychart-scrollbar-issue-extra-x-axis-labels-showing-up/73380/2 "2023-05-16T22:31:21Z")

</div>

To look further into this behavior I think a support ticket would be necessary. If possible please create a support ticket and provide more information regarding the behavior you are experiencing so that we can troubleshoot the cause and fix the issue.

---

<div class="post-metadata">

**Author:** ![Jay\_Baker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jay_baker/32/35448_2.png) [@Jay\_Baker](https://forum.inductiveautomation.com/u/Jay_Baker)\
**Post date:** [May 17, 2023, 3:18am UTC](https://forum.inductiveautomation.com/t/xychart-scrollbar-issue-extra-x-axis-labels-showing-up/73380/3 "2023-05-17T03:18:56Z")

</div>

Ok, thanks. How do I create a support ticket?

---

<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:** [May 17, 2023, 5:57am UTC](https://forum.inductiveautomation.com/t/xychart-scrollbar-issue-extra-x-axis-labels-showing-up/73380/4 "2023-05-17T05:57:30Z")

</div>

[https://support.inductiveautomation.com/hc/en-us](https://support.inductiveautomation.com/hc/en-us)
