Fix Excel Chart Phase-Change Line Not Displaying Consistently
Question details
The user needs to fix a phase-change line in a spreadsheet chart that disappears or displays inconsistently after modifying the chart configurations.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Modifying chart series types or configurations in a line chart that contains a custom phase-change line.
- Observed behavior
- The custom phase-change line fails to appear consistently or disappears entirely when the chart format is updated.
Verify whether the phase-change line was added as a manual drawn shape or as a data series with error bars, as the troubleshooting steps differ significantly for each method.
Reconfigure Phase Line Using a Dummy Data Series and Error Bars
Using a dedicated data series with error bars is the most stable method for creating phase lines, ensuring they don't disappear when chart types change.
Manually drawing lines on a chart can lead to display bugs when the chart size or series type changes. Tying the phase line to actual data ensures it scales and remains visible.
Create a new column in your dataset for the phase line. Enter the specific X-axis value where the phase change occurs, and set its Y-axis value to 0.
Right-click the existing chart, choose 'Select Data', and add the new dummy series to your chart data.
Select the new dummy data point in the chart, go to 'Chart Elements' (the plus icon next to the chart), and check the box for 'Error Bars'.
Right-click the vertical error bar, select 'Format Error Bars', set Direction to 'Plus', choose 'No Cap', and set a Fixed Value high enough to span your entire chart's Y-axis.
Select the original dummy data point marker, open the Format pane, and set both Fill and Border to 'None' so only the vertical phase line remains visible.

Group and Anchor Manually Drawn Phase Lines
If you prefer drawing the phase line using the Insert Shapes tool, ensure it is properly anchored inside the chart area so it doesn't shift or hide behind chart elements.
Create Stable Phase-Change Charts in WPS Spreadsheet
WPS Spreadsheet offers robust charting tools that make adding stable vertical lines, phase changes, and complex data visualizations simple and reliable without formatting bugs.
- 1. Open your dataset: Launch WPS Spreadsheet and open the document containing your data.
- 2. Insert a Line Chart: Highlight your data range, navigate to the 'Insert' tab, and select 'Line Chart'.
- 3. Add a Phase Line: Use the 'Insert' > 'Shapes' tool to draw a line directly into the active chart area, or add a secondary dummy data series for maximum stability.
- 4. Customize the appearance: Double-click the line or data series to open the formatting pane on the right side and adjust the color, weight, and dash type to your preference.

Frequently Asked Questions
Why do shapes drawn on my spreadsheet chart move when I resize it?
If the shape was drawn directly onto the worksheet instead of inside the active chart area, it will not scale or move with the chart. Always click inside the chart boundaries to activate it before inserting shapes.
Can I use a secondary axis to create a phase-change line?
Yes, you can add a new series configured as a Column or Scatter chart plotted on a secondary axis, then format it to look like a single vertical divider line by adjusting gap widths or error bars.
Will my phase-change lines remain if I change from a Line chart to a Bar chart?
Changing the primary chart type often resets custom series configurations, including custom error bars or secondary axes. It is best practice to finalize your primary chart type before configuring complex phase lines.




