EasyChart subplots spacing

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


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.

Thanks!

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

Best,

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

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

@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:

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.

3 Likes