Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using a pivot chart in Excel to display data. My problem is: I can not influence the orientation of the text in the "axis" (don't know how to call it correctly, I'm sorry).

As an example: In the following chart I'd like the text marked in yellow also be oriented horizontally:

Screenshot

If I right-click on the chart and select "Format axis..." I can choose the orientation, but that only influences the texts "diff" and "imp", but not the rest.

I've also uploaded the example file: http://www.file-upload.net/download-6764939/SuperuserExcelPivotAxisLabelExample.xlsx.html

Some interesting facts:

  • If I right-click on the vertical axis, select "format axis..." and then change the text orientation from "horizontal" to something else, it affects only the values "A" and "B" on the right, but not the P.. and "blonde/brown" (strange!)
  • I copied the sheet with the example chart to a new workbook and suddenly all the text orientation in the axis was ok (even more strange!!), apparently as it converts the pivot chart into a normal chart without pivot function, so that does not help me either.
    So the problem seems to be related to Pivot Charts...
share|improve this question
1  
The terminology might be 'Secondary and tertiary vertical axis category labels' but I fear that won't help as I think the answer is "can't be done" without an ugly workaround such as by overlaying text boxes. However, there are some exceedingly ingenious SUsers who seem to thrive on 'impossible' challenges! –  pnuts Oct 31 '12 at 11:29
add comment

2 Answers

It's a little hard to tell because your image is so small, but I think you're simply looking in the wrong place. Please try this:

  1. Select your chart
  2. Choose Layout > Axis Titles > Primary Vertical Axis > Horizontal Title

or

  1. Select your Vertical Axis Title
  2. Right click and choose Format Axis Title
  3. Select Alignment and you can change both Text Direction and Custom Angle.

Both work in Excel 2010 (I don't have Excel 2007 to test, but they should be about the same).

Excel keeps the formatting for Axis and their titles separate, so you need to make sure you're selecting the correct element before making your adjustments.

share|improve this answer
    
thanks, I'll try that on Monday. –  Martin Nov 1 '12 at 13:12
    
It's not about the axis title but part of the axis labels. I've added a new screenshot and also uploaded an example file for you to try out directly. –  Martin Nov 2 '12 at 8:34
1  
Thanks for the updated image, that makes more sense. I'll let you know if I can offer anything else. –  dav Nov 2 '12 at 12:01
add comment
up vote 0 down vote accepted

as stated in pnuts' comment it seems that this is a bug in Office 2007 and it is not possible to influence the text orientation in Secondary and tertiary vertical axis category labels in pivot charts in Excel 2007.

However, as soon as the charts are converted into "normal" Excel charts (no pivot functions any more), it is possible to influence text orientation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.