Chart & Visualization Issues

WPS Spreadsheets: Create Line and Bar Charts from Excel Cache Data

Nimra MalikNimra Malik Nov 12, 2026 869 views

Question details

The user needs to create comparable line and bar charts from cache data, with each cache size displayed as a separate data series.

Create Line and Bar Charts from Excel Cache Data in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The dataset includes Block Size, Hit Ratio, and Cache Size, and the user wants Block Size on the horizontal axis while comparing cache sizes.
Observed behavior
The chart may incorrectly treat Block Size as a data series instead of using it as the horizontal-axis labels, making the cache-size comparisons unclear.
Before you start

Check whether multiple rows contain the same Block Size and Cache Size combination. Decide whether those Hit Ratio values should be summed, averaged, or otherwise summarized before creating the chart.

Solution 1Recommended

Arrange cache data into separate series columns before inserting a chart

Use this approach when each Block Size and Cache Size combination can be placed in a clear summary table.

The chart source should contain one horizontal-axis column for Block Size and one value column for each Cache Size. If the source has repeated combinations, summarize them first with a PivotTable or formulas such as SUMIFS.

1
Create a summary table

In WPS Spreadsheets, create a table with Block Size in the first column, each Cache Size as a separate header column, and the corresponding Hit Ratio values beneath each cache-size header.

2
Summarize repeated combinations

If combinations repeat, choose a blank result cell and use a formula such as =SUMIFS(Hit_Ratio,Block_Size,A2,Cache_Size,B$1), adjusting the named ranges and cell references to match your worksheet.

3
Select the chart source

Select the complete summary table, including the Block Size header, cache-size headers, and Hit Ratio values.

4
Insert a line or bar chart

Open the Insert tab, choose Chart, and select Line or Bar. WPS Spreadsheets creates one series for each Cache Size column.

5
Correct the axis assignment if needed

Select the chart, open the chart data or Select Data controls, remove Block Size from the series list if it appears there, and assign the Block Size column to the horizontal-axis labels.

Expected chart structure: Block Size should appear along the horizontal axis, Hit Ratio should appear on the value axis, and every Cache Size should have its own legend entry and series.

Create Accurate Cache-Size Comparison Charts in WPS Spreadsheets

WPS Spreadsheets lets you summarize repeated cache records, arrange each Cache Size as a separate series, and insert line or bar charts with Block Size correctly assigned to the horizontal axis.

  1. 1. Open the workbook: Launch WPS Spreadsheets and open the Excel workbook containing Block Size, Hit Ratio, and Cache Size.
  2. 2. Summarize the data: Use Insert > PivotTable or a SUMIFS formula to create one value for each Block Size and Cache Size combination.
  3. 3. Arrange the series: Place Block Size in the first column and each Cache Size in its own column with Hit Ratio values below the headers.
  4. 4. Insert the chart: Select the summary table, choose Insert > Chart, and select a Line or Bar chart.
  5. 5. Fix chart data assignments: Use the chart's Select Data controls to remove Block Size from the series list and set it as the horizontal-axis labels.
Create line and bar charts from summarized cache data without manually rebuilding the source table.Use PivotTables or formulas to organize repeated Block Size and Cache Size combinations.Keep Block Size as the horizontal-axis labels and compare each Cache Size in a separate series.Open, edit, and save Microsoft Excel XLSX files with strong format compatibility.
microsoft office alternative - wps office

Frequently Asked Questions

How should the source table be arranged for a cache-size comparison chart?

Put Block Size in the first column and create one additional column for each Cache Size. Use the Hit Ratio values in those cache-size columns, with the cache sizes as the column headers.

Why does the chart show Block Size as a separate series?

The chart has interpreted the first column as numeric data instead of category labels. Select the chart, open Select Data, remove the Block Size series, and assign that column to the horizontal-axis labels.

How can repeated Block Size and Cache Size rows be summarized?

Create a PivotTable with Block Size in Rows, Cache Size in Columns, and Hit Ratio in Values. You can also use SUMIFS or another aggregation formula when a formula-based summary is preferred.

Should I use a line chart or a bar chart for this data?

Use a line chart when you want to show how Hit Ratio changes across ordered Block Sizes. Use a bar chart when you want to compare individual Block Size and Cache Size values more directly.

Can WPS Spreadsheets open an Excel workbook containing this chart data?

Yes. WPS Spreadsheets supports Microsoft Excel XLSX files. Open the workbook, organize or summarize the data, and save the finished chart in the required Excel-compatible format.