# Perspective Bargraph (XY Chart)

**URL:** <https://forum.inductiveautomation.com/t/perspective-bargraph-xy-chart/66823>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 22, 2022, 7:29pm UTC](https://forum.inductiveautomation.com/t/perspective-bargraph-xy-chart/66823 "2022-11-22T19:29:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JR7](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@JR7](https://forum.inductiveautomation.com/u/JR7)\
**Post date:** [November 22, 2022, 7:29pm UTC](https://forum.inductiveautomation.com/t/perspective-bargraph-xy-chart/66823/1 "2022-11-22T19:29:50Z")

</div>

Hi All,

Is there a way to maximize the space on the bottom of your chart on XYChart component?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/0/005da939c9054594f6555c7faee28a3cba255a19.png)

I tried hiding the Legends and make the font smaller for time and tried the label to be absolute but it is still taking a large space at the bottom.

Thanks,  
JR

---

<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:** [November 22, 2022, 11:18pm UTC](https://forum.inductiveautomation.com/t/perspective-bargraph-xy-chart/66823/2 "2022-11-22T23:18:02Z")

</div>

Try wrapping it in a flex container and set the chart's bottom margin to -20px. You might also need to set `overflow : hidden`.
