Excel Graph Lines Disappear? Restore the Chart Type

Missing lines in an Excel graph can return after changing the chart type and switching it back. Try this on a saved copy when the series remain in Select Data. A gray-looking plot instead needs a separate gridline adjustment.

These were separate problems in the original Excel 2016 report: some charts lost their data lines, while others had a gray-looking background. The owner recovered the lines, but had to adjust the date axis afterward.

1. Switch the affected chart away from its current type

Use a separately saved workbook copy for the chart changes. A combination chart can have different series types and a secondary axis, so note those choices first. Leave the annotated original intact until the copy is ready.

Click the affected chart and open Chart Tools > Design > Change Chart Type in Excel 2016. In newer desktop Excel versions, selecting a chart opens the Chart Design tab. Choose a different suitable chart type and select OK.

Drawing of Excel's chart-type workflow showing the current chart changed to another type and then restored

Select Change Chart Type again and restore the required line or combination chart. If it was a combo, check the type assigned to each series and whether the secondary-axis boxes match the original setup.

An owner in the original graph discussion confirmed that this restored the missing lines. They also reported that the date labels needed further work. Check the axes before using the chart again.

If the series reappear, compare their names, colors and values with the source cells. If the chart remains blank, inspect its selected data next. Changing types can't draw a series whose source reference is missing or wrong.

2. Check that the chart still points to the intended cells

Right-click the chart and select Select Data. In Legend Entries (Series), look for each series that should appear. Select a series and use Edit to inspect its name and value references without changing the original data.

Check that the references point to the correct worksheet and measured values. A heading or empty column can be selected by mistake. Compare them with a working chart if both charts use the same layout.

In the reported case, the series information was still visible to the owner even when the plotted lines were gone. That detail is why the chart-type change made sense before rebuilding the graph from scratch.

If the references are correct, cancel without rewriting them. Repair a clearly wrong reference in your copy, then inspect the plot. Keep your chart notes while you try to restore the missing lines.

For a chart built from the wrong selection, the Excel chart setup steps explain how data and labels are selected. That is a different repair from refreshing an existing chart's type.

When the source cells contain formula errors instead of numbers, fix those cells first. A chart depends on their results. Changing line styles can't repair a calculation that never produced the intended measurements.

3. Remove unwanted gridlines from a gray plot

If the data lines are visible but the background looks like a gray block, select the gridlines themselves. Right-click them and choose Format Gridlines. Under Fill & Line > Line, choose No line to remove the selected gridline set.

Take care with the selection: No line on a data series hides that series. The formatting pane should identify gridlines before you apply the change. If it says Format Data Series, cancel and select the gridlines instead.

Drawing distinguishing Format Gridlines with No line from Format Data Series, where No line would hide the plotted data

In a crowded chart, removing one gridline set should make the background clear enough to see the data. If the gray area stays, check the pane's selected object rather than repeatedly changing the data series.

The adviser found gray automatic formatting on major gridlines in the original workbook. The owner confirmed the gray background disappeared after the changes. Reinstalling Excel had already failed to help.

If you need gridlines, keep the repaired chart copy and adjust their spacing to suit the axis. A daily date scale across a long period can be far denser than the monthly or quarterly view the report needs.

4. Restore dates and spacing after the lines return

Right-click the horizontal axis and select Format Axis. Under Axis Options, inspect Axis Type. A line chart can use a Date axis or Text axis; they organize the labels differently.

A date axis spaces dates according to time. A text axis treats labels as categories with equal spacing. Select the type required by your data, using the horizontal-axis controls.

If a line chart should show calendar dates, also inspect Horizontal (Category) Axis Labels > Edit in Select Data. Select the worksheet's actual date cells, rather than a row-number column or a header.

For a date axis, review the base-unit and major-unit controls. Choose months or years if daily marks crowd the chart. Your axis type determines which controls appear, so these date-axis steps don't apply to an XY scatter plot.

A scatter chart uses a numeric horizontal axis, and each series supplies x-values. If your original chart was a scatter chart, restore that type and its x-value references instead of turning it into a category-based line chart.

When the source labels themselves aren't recognized as dates, use the Excel date checks. Axis formatting can change the appearance of real dates, but it can't decide the meaning of imported text dates for you.

5. Rebuild one chart only if its saved copy still fails

I'd work on one affected chart until it behaves correctly. The original owner had working and broken charts in the same workbook, so replacing every chart or reinstalling all of Office would change far more than necessary.

If the type change doesn't restore a chart with valid source data, build a new chart beside the original using that same source. Start with the basic series before adding chart notes, special axes or other formatting.

If the new chart works, compare its series references and type with the old one. Move your chart notes only after the new plot shows the right values. Keep the original until its replacement has been checked and saved.

If a new chart fails too, share a small failing example with its workbook author or Microsoft support. Include your Excel version and ask them to compare the two charts, the cells each series uses and the chart types.

Remove private worksheet data from the shared example. A screenshot of the empty plot helps describe the symptom, but the formula references and sample cells give support something they can actually check.

The Short Version

In your workbook copy, switch chart types and restore the original series choices. Treat a gray plot as a gridline problem separately. Once lines return, check date labels and spacing before using the chart in a report.

Checked November 17, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment