Chart & Visualization Issues

How to Change Text Direction in an Excel PivotChart Data Table

Nimra MalikNimra Malik Nov 4, 2026 869 views

Question details

The user wants to change the text direction of labels in an Excel PivotChart data table to a vertical orientation.

How to Change Text Direction in an Excel PivotChart Data Table
Product
Microsoft Excel
Device & OS
not provided
Scenario
Formatting a PivotChart data table where standard text box text alignment settings are grayed out or disabled.
Observed behavior
Standard Text Box settings are disabled, preventing direct text alignment changes, requiring an alternative method to rotate the labels vertically.
Before you start

Ensure you have already inserted a PivotChart with an attached data table, and click directly on the labels you wish to format.

Solution 1Recommended

Rotate Data Labels via Format Axis Properties

Since standard text box settings might be disabled for PivotCharts, use the Axis Options to change the text direction to vertical or 90 degrees.

Excel handles dynamic elements like PivotChart data tables differently than standard shapes. By accessing the Format Axis pane, you can bypass the disabled text box settings and properly rotate your labels.

1
Select the Data Labels

Right-click on the relevant data label or click to select the entire label block within the PivotChart data table.

2
Open the Format Axis Pane

Select 'Format Axis' from the right-click context menu. This will open the formatting pane on the right side of your screen.

3
Access Size & Properties

In the Format Axis pane, ensure you are under 'Axis Options' and click on the 'Size & Properties' icon, which is usually depicted as a square with dimension lines.

4
Change Text Direction

Locate the 'Text Direction' dropdown menu and select your desired rotation, such as 'Rotate all text 90°' or 'Vertical', to apply the changes to your labels.

Rotate Data Labels via Format Axis Properties
Version Variance: The exact location and naming of the text rotation options may vary slightly depending on your specific version of Excel and the chart type used.
Easily Customize PivotCharts

Format PivotCharts Effortlessly with WPS Office Spreadsheet

WPS Office offers intuitive and highly customizable charting tools. You can effortlessly adjust PivotChart layouts, including data table text directions, without navigating through overly complex menus.

  1. 1. Open Your File: Launch WPS Spreadsheet and open your existing spreadsheet file containing the PivotChart.
  2. 2. Access the Chart Properties: Double-click on the axis or data labels within your PivotChart to immediately open the Chart Elements formatting pane on the right.
  3. 3. Adjust Text Options: Navigate to the Text options and locate the orientation or alignment settings.
  4. 4. Apply Vertical Rotation: Adjust the degree of rotation or select the vertical text direction preset to apply the layout change instantly.
Seamless compatibility with Microsoft Excel (.xlsx) formatsIntuitive chart formatting pane for quick axis adjustmentsLightweight application with robust data visualization toolsCompletely free to use for everyday office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why are the text box alignment settings disabled in my PivotChart?

In Excel, direct text box properties are often locked for elements dynamically generated by a PivotChart, such as data tables and axis labels. You must format these elements through the dedicated Format Axis pane instead of the standard shape formatting tools.

Can I apply vertical text rotation to only one specific label?

Typically, changing the text direction via the Format Axis settings applies the rotation to the entire block of axis labels or the whole data table category. Modifying a single dynamic label independently is restricted in PivotCharts.

What if 'Size & Properties' is missing from my Format pane?

If you don't see 'Size & Properties', ensure you have correctly selected the axis labels and not the outer chart area. Click directly on the text of the data labels before right-clicking to choose 'Format Axis'.