# Time cut off on right of XYChart

**URL:** <https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610>\
**Category:** Ignition\
**Created:** [September 27, 2019, 7:18am UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610 "2019-09-27T07:18:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikal](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@mikal](https://forum.inductiveautomation.com/u/mikal)\
**Post date:** [September 27, 2019, 7:18am UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610/1 "2019-09-27T07:18:51Z")

</div>

I have an XY chart in Ignition 8.0.3 where I display the temperature of the last 3 minutes, but the time at the bottom right gets cut off. I tried to reduce the width of the chart, I tried giving it a margin or a padding, I also tried to set the overflow to visible but nothing seems to work.

Here I tried to reduce the width:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4d0625ce10bb71e96c9655850b6b1ffae004e1ee.png)

Here I tried to set a margin on the right but this also doesn’t work:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/04df0d6ad5502445b87b49ed38dc8423182eb665.png)

Am I the only one with this problem? or is this problem already fixed in Ignition version 8.0.4?

I hope someone can help me out.

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [September 27, 2019, 2:52pm UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610/2 "2019-09-27T14:52:26Z")

</div>

Hi,

Add margins or padding won’t help because that’s applied the chart’s container, and not the actual chart. The chart, and various other components, are contained to normalize behavior and package their contents. Try adjusting the `minDistance` on the xAxes (`xAxes[index].appearance.grid.minDistance`). This sets the minimum distance required between grid lines. You can also try rotating the labels so that long labels do not get cut off (`xAxes[index].appearance.labels.rotation`) or making sure the labels `wrap` property is enabled (may only wrap spaces and not break word).

Hopefully that helps.

-Y

---

<div class="post-metadata">

**Author:** ![mikal](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@mikal](https://forum.inductiveautomation.com/u/mikal)\
**Post date:** [September 27, 2019, 3:09pm UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610/3 "2019-09-27T15:09:09Z")

</div>

Thank you for your response, I tried adjusting the minDistance of the xAxis but that doesn’t seem to change anything.  
I don’t know why.  
The rotation does work but is not really what i’m looking for.

Hope you can help me out.

---

<div class="post-metadata">

**Author:** ![mikal](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@mikal](https://forum.inductiveautomation.com/u/mikal)\
**Post date:** [October 11, 2019, 8:03am UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610/4 "2019-10-11T08:03:59Z")

</div>

I’m still struggling with this problem, I think this is a bug in Ignition.  
Is there anyone else with this problem or does anyone know a solution to this?

I hope someone can still help me out.

---

<div class="post-metadata">

**Author:** ![mikal](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@mikal](https://forum.inductiveautomation.com/u/mikal)\
**Post date:** [October 25, 2019, 10:11am UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610/5 "2019-10-25T10:11:42Z")

</div>

It has been 4 weeks and I still don’t have an answer to my question. Even if the answer is that there is a bug in Ignition and you are working on it I would be satisfied.

I hope to hear from you.

Kind regards,  
Mikal

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [October 29, 2019, 2:55pm UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610/6 "2019-10-29T14:55:58Z")

</div>

Hi Mikal,

Sorry for the delay, and sorry to hear that you are still having issues with this. Adjusting the minDistance will not do anything if it already meets the min distance requirements. Try lowering the value to see if it helps.

-Y

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 29, 2019, 3:42pm UTC](https://forum.inductiveautomation.com/t/time-cut-off-on-right-of-xychart/28610/7 "2019-10-29T15:42:07Z")

</div>

> [@mikal](#):
>
> It has been 4 weeks and I still don’t have an answer to my question. Even if the answer is that there is a bug in Ignition and you are working on it I would be satisfied.

Also, it's important to note that while this is an official forum, it is **not** an official avenue for support. If you need a response to a question, you should get in contact with [our actual support department](https://support.inductiveautomation.com).
