How to Stop Excel Chart Data Labels from Changing Text Direction
Question details
The user needs a solution to prevent chart data labels from automatically resetting their text direction from vertical to horizontal after the chart's data source is updated.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Updating or modifying the data source of an existing chart using the 'Select Data' function.
- Observed behavior
- The custom vertical text direction of the data labels is lost and unexpectedly reverts to a horizontal layout across most or all data bars.
Before attempting to fix the formatting, check if this issue happens in every Excel file or just one specific workbook to determine if the file itself is corrupted.
Test File Integrity and Recreate the Chart
Because this label rotation is not expected behavior, it is often tied to a glitch in a specific workbook. Recreating the chart with clean settings is the most reliable fix.
When Excel charts behave unpredictably upon data updates, the internal XML structure of that specific chart or worksheet might be damaged. Testing in a fresh file helps isolate the problem.
Open a completely new Excel workbook and type out a small, simple data set.
Highlight your new data, go to the 'Insert' tab, select a chart type, and manually change the data labels' text direction to vertical.
Right-click the chart, choose 'Select Data', and modify the data range. Apply the changes to see if the labels unexpectedly rotate to horizontal.
If the test chart maintains its vertical labels correctly, the original file is the issue. Delete the problematic chart in your main workbook and rebuild it from scratch.

Manually Reapply Data Label Alignment
If you cannot recreate the chart immediately, you can manually force the data labels back into the correct orientation using the formatting pane.
Create and Format Charts Reliably with WPS Office
If Microsoft Excel continues to reset your chart formatting unexpectedly, consider switching to WPS Office. It provides a highly stable spreadsheet environment where your custom chart labels and formatting remain exactly as you set them, even when updating complex data sources.
- 1. Install WPS Office: Download and install the free WPS Office suite on your computer.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheets and open the .xlsx file containing your charts.
- 3. Edit Data Seamlessly: Use the 'Select Data' feature to update your chart sources. WPS Spreadsheets maintains your label formatting exactly as intended.

Frequently Asked Questions
Why do my Excel chart data labels reset when I change the data source?
This unexpected behavior usually occurs due to underlying file corruption or a rendering glitch in Excel's chart engine, causing the software to drop custom alignments and revert to default horizontal formatting when the data array is modified.
How do I permanently change the text direction of data labels?
Right-click the data labels, select 'Format Data Labels', navigate to 'Size & Properties' > 'Alignment', and choose your desired 'Text direction'. In a healthy workbook, this setting will remain permanent.
Is there a way to lock chart formatting in Excel to prevent changes?
Excel does not offer a direct 'lock formatting' button for charts. However, saving your perfectly formatted chart as a Chart Template (.crtx) allows you to instantly reapply all your custom designs and text directions if they get reset.
Will repairing Microsoft Office fix chart label rotation issues?
If the label rotation issue occurs across all your workbooks—including completely new files created from scratch—running an Online Repair for Microsoft Office from your system's Control Panel may resolve the underlying software installation glitch.




