# XY Chart Display issues

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-display-issues/33177>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [March 17, 2020, 7:02pm UTC](https://forum.inductiveautomation.com/t/xy-chart-display-issues/33177 "2020-03-17T19:02:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [March 17, 2020, 7:02pm UTC](https://forum.inductiveautomation.com/t/xy-chart-display-issues/33177/1 "2020-03-17T19:02:13Z")

</div>

I posted a clip since its hard to describe. I’m having issues with the XY chart drawing at an unusable size. If I zoom in 20% then zoom out 10% it shows up, or if I zoom out 10% it shows up, but it has an odd behavior otherwise.

The component is in a flex container with the following configuration. Any ideas?

Edit: I just did it again after putting a border around the chart, it appears the graph inside the component is being resized not the component itself.

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

https:/uploads/iatesting/original/2X/9/991119266aa678f0c61047fc856afd9e612dd8cf.mp4

---

<div class="post-metadata">

**Author:** ![manuok](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@manuok](https://forum.inductiveautomation.com/u/manuok)\
**Post date:** [March 18, 2020, 8:39am UTC](https://forum.inductiveautomation.com/t/xy-chart-display-issues/33177/2 "2020-03-18T08:39:39Z")

</div>

I have run into the same problem with the XY-Chart in flex-container and the **solution is to change the flex-container to row direction.** It has to be a bug either in flex-container or XY-Chart component.

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [March 18, 2020, 3:56pm UTC](https://forum.inductiveautomation.com/t/xy-chart-display-issues/33177/3 "2020-03-18T15:56:05Z")

</div>

I’ve had weird layout issues with the other chart with Flex views. I was able to fix it by embedding the chart in a tab control.

Try putting the chart in a tab control and see if it fixes the problem.
