Chart & Visualization Issues

How to Create a WPS Office Spreadsheets Line Chart That Ignores Missing Data

Khadija KhanKhadija Khan Nov 13, 2026 869 views

Question details

The user wants to create a line chart in WPS Office Spreadsheets that connects available data points and does not plot missing data as zero values.

How to Create a WPS Office Spreadsheets Line Chart That Ignores Missing Data
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
Creating or editing a line chart from a data range that contains blank cells, formulas returning empty text, or zero values.
Observed behavior
The chart may display zero values or interrupted lines instead of skipping the missing categories and connecting available data points.
Before you start

Before changing chart settings, check whether the source cells are truly blank, contain formulas that return an empty string, or contain actual zeros. This determines whether the chart's Connect data points with a line option will work or whether the formulas must be adjusted first.

Solution 1Recommended

Use 'Connect data points with a line' for empty cells in WPS Spreadsheets

Use this when the source range contains truly blank cells and you want the line to continue across the gap instead of dropping to zero.

WPS Office Spreadsheets includes the same Hidden and Empty Cells dialog used for line charts. This setting controls whether blank source cells appear as gaps, zeros, or connected points.

1
Select the line chart

Open your workbook in WPS Office Spreadsheets and click the line chart to activate it.

2
Open Select Data

Right-click the chart and choose Select Data, or go to the Chart Tools tab and click Select Data.

3
Open Hidden and Empty Cells

In the Select Data Source dialog, click Hidden and Empty Cells in the lower-left corner.

4
Connect data points

Select Connect data points with a line, then click OK to close both dialogs.

5
Verify the chart

Check that the line now crosses blank cells and only available data points are plotted.

Use 'Connect data points with a line' for empty cells in WPS Spreadsheets
Chart updated: The line chart will now ignore true blanks and connect the surrounding data points instead of showing zeros.
Direct WPS Office solution

Create a Missing-Data Line Chart in WPS Office Spreadsheets

In WPS Office Spreadsheets, you can create a line chart that skips blanks and connects available data points using the Hidden and Empty Cells dialog, giving you the same chart controls as Excel in a free, familiar spreadsheet environment.

  1. 1. Download and open WPS Office: Install WPS Office, launch WPS Spreadsheets, and open your workbook.
  2. 2. Select the line chart: Click the line chart that contains blanks or gaps to activate the chart tools.
  3. 3. Open Hidden and Empty Cells: Right-click the chart, choose Select Data, then click Hidden and Empty Cells.
  4. 4. Connect data points: Choose Connect data points with a line, click OK, and return to the chart.
  5. 5. Save or export the result: Save the WPS spreadsheet or export it to .xlsx to keep the chart settings for Microsoft Excel users.
Connects data points across blank cells instead of plotting zerosFull compatibility with Microsoft Excel .xlsx line charts and workbooksFree spreadsheet charting tools with a familiar Select Data workflowLightweight and easy-to-use interface for chart formatting
microsoft office alternative - wps office

Frequently Asked Questions

Why does my line chart show zero when the cell is blank?

WPS Spreadsheets may plot empty cells as gaps or zeros depending on the Hidden and Empty Cells setting. Select the chart, click Select Data > Hidden and Empty Cells, and choose Connect data points with a line.

What is the difference between an empty cell and a formula returning empty text in a chart?

A truly empty cell can usually be handled by Connect data points with a line. A formula returning "" produces a text value that may still be plotted, so change the result to NA() or clear the cell.

Can I use #N/A in a WPS line chart to skip a data point?

Yes. Enter =NA() or return NA() from a formula in the source cell. WPS Spreadsheets does not plot #N/A values, and the line connects the adjacent points.

Does WPS Office keep these line chart settings when I open the file in Excel?

Yes. WPS Spreadsheets saves workbooks in .xlsx format, and the Hidden and Empty Cells / Connect data points with a line setting is retained in the chart.

How do I hide chart gaps instead of connecting points?

Open Select Data > Hidden and Empty Cells and choose Show empty cells as gaps, then click OK.