You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how do I create a line break in an axis label

I have a very long x-axis label that needs some line breaks. I've tried every key combination I can think of to no avail. Does anyone know how?


Thanks,

Mark

iMac, Mac OS X (10.5.4)

Posted on Dec 5, 2011 4:53 PM

Reply
3 replies

Dec 5, 2011 5:45 PM in response to markymarkduranduran

Numbers is quite literal in graphing value pairs. Breaking either axis of a scatter graph (the only supported type where both axes are "value" axes) is not supported.


In a "line graph", the x-axis is a "category" axis, and the categories are equally spaced. If your data can be accurately displayed using equal spacing on the x-axis, cold use this type of graph, leaving the y value cells empty where you want breaks, and using graphics objects placed in front of the axis to create the breaks.


One possible way to create the breaks using a connected scatter chart would be to graph each group of data on a separate chart. Use the Inspector to choose which elements to display for each graph, and to set matching x and y axis scales for each.


Regards,

Barry

Dec 5, 2011 6:29 PM in response to markymarkduranduran

There are a few ways to get line breaks.


First way: Go to the Chart Inspector, Axis tab. At the bottom it will either have references to the header cells it is using for labels or it will have a list of the labels. If it has references, use the second or third method. If it has text, go to the label you want to modify. Use Option-Return to put a line break in it.


Second way: This works when best before you create a chart and might work afterward if the chart is still refering to the header column and hasn't converted the labels to text. Use option-Return to create line breaks in the header cells of your table. In the screenshot below, the first label has no line breaks, the second has one, and the third has none but is simply wrapping to the next line in the cell.


Third way: If the chart inspector has references to the labels, go to the chart (not the table) and edit one of the labels. The inspector will now show text instead of references. Use the first method to add your line breaks.


User uploaded file

how do I create a line break in an axis label

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.