# Staggered Axis Labels

**URL:** <https://forum.inductiveautomation.com/t/staggered-axis-labels/89128>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 19, 2024, 5:14pm UTC](https://forum.inductiveautomation.com/t/staggered-axis-labels/89128 "2024-04-19T17:14:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [April 19, 2024, 5:14pm UTC](https://forum.inductiveautomation.com/t/staggered-axis-labels/89128/1 "2024-04-19T17:14:29Z")

</div>

I have a vision Chart here with 4 subplots. Version 8.1.25

I am looking for a way to stagger the labels to the left so that one is higher than the next and they won't be overlapping anymore.

I am not working with a lot of height here and using subplot titles above each subplot and I also thought to use a label angle but those options won't work for me either.

Another alternative might be if I could somehow insert a html break to put the units on a line to the right of the plot title.

If anyone has any suggestions, let me know please. Thanks!

This is as close as I can get to figuring out how to do a line break but System doesn't exist.

def configureChart(self, chart):  
#Set Mode to x-trace, 0=Zoom  
self.setMode(4)

```
from org.jfree.chart.axis import NumberAxis
from java.lang import System
from java.awt import Font
from java.awt import Color

titles = ["FLOW TEST","CRACK TEST","LEAK TEST","CAGE LEAK TEST"]

for index, plot in enumerate(chart.getPlot().getSubplots()):
	labelAxis = NumberAxis(titles[index] + System.getProperty("line.separator") + ' units')
	labelAxis.setLabelFont(Font("Tahoma", Font.PLAIN, 10))
	plot.setRangeAxis(0, labelAxis)

```

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

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [May 10, 2024, 3:03pm UTC](https://forum.inductiveautomation.com/t/staggered-axis-labels/89128/2 "2024-05-10T15:03:11Z")

</div>

Update:  
I could not get the stagger effect or the multiple line effect to work.  
I ended up finding an alternative solution by moving the pen title somewhere else and keeping the units on the y axis.
