# EasyChart subplots spacing

**URL:** <https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694>\
**Category:** Ignition\
**Created:** [January 17, 2013, 3:48pm UTC](https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694 "2013-01-17T15:48:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![quper](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quper](https://forum.inductiveautomation.com/u/quper)\
**Post date:** [January 17, 2013, 3:48pm UTC](https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694/1 "2013-01-17T15:48:41Z")

</div>

Hello,  
is it possible to make EasyChart sublots spacing bigger?  
Tick numbers are overlapping.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2937018349a02eb0250c3493ce59b97935592808.jpg)

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 17, 2013, 4:32pm UTC](https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694/2 "2013-01-17T16:32:09Z")

</div>

I don’t think so. However, you can turn off the “Auto Axis Positioning” property and set the middle axis to move to the right. You can change the axis in the customizer.

---

<div class="post-metadata">

**Author:** ![quper](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quper](https://forum.inductiveautomation.com/u/quper)\
**Post date:** [January 24, 2013, 3:00pm UTC](https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694/3 "2013-01-24T15:00:24Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![jorge.torres](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jorge.torres](https://forum.inductiveautomation.com/u/jorge.torres)\
**Post date:** [October 12, 2022, 3:57pm UTC](https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694/4 "2022-10-12T15:57:43Z")

</div>

Hello.  
Is there another way of dealing with this issue on Ignition 8.1.19 (Vision)?

Best,

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [October 12, 2022, 5:24pm UTC](https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694/5 "2022-10-12T17:24:11Z")

</div>

You should be able to do something like this in the configureChart extension function, though I haven't actually tried this.

```python
space = 10.0
plots = getattr(chart.plot,"subplots",[chart.plot])
for index, plot in enumerate(plots):
    plot.setFixedDomainAxisSpace(plot.getFixedDomainAxisSpace().setBottom(space))

```

---

<div class="post-metadata">

**Author:** ![jorge.torres](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jorge.torres](https://forum.inductiveautomation.com/u/jorge.torres)\
**Post date:** [October 17, 2022, 2:06pm UTC](https://forum.inductiveautomation.com/t/easychart-subplots-spacing/5694/6 "2022-10-17T14:06:22Z")

</div>

@lrose Thank you.  
Your suggestion led me to the right path.  
I got it to work by adding the following lines to the configureChart extension function:

```python
if hasattr(chart.plot, "setGap"):
   chart.plot.setGap(10)

```

The hasattr() function was used in order to take care of the AttributeError when only one subplot is active/viewable.
