Contact

LibreOffice Calc Β· Charts and visualization Β· Beginner

Create a Column or Line Chart and Maintain Its Source in LibreOffice Calc

Create a four-month Orders chart in Calc, verify category and series ranges, extend it to May, and compare column and line views. Add a nonadjacent Planned series and display a chart data table.

Documentation-qualified; native workflow and save/reopen checks pending Β· Editorial standards

Create a chart only after deciding which cells are categories, values, and the series name. This small example makes a transposed series or missing final month easy to catch.

Start with four months

Create an ODS workbook with a sheet named Orders and enter A1:B5:

Month Orders
January 12
February 16
March 14
April 20

Enter numbers as numbers, without apostrophes. In D2, enter =SUM(B2:B5); the check total is 62. The full fixture is here, so no external download is required.

These standard-menu instructions cover the free desktop LibreOffice Calc application, using Calc Guide 26.2 (February 2026) and online Help labeled 26.8. The original adjacent-data lesson was checked 19 October 2026; the nonadjacent-series and displayed-table extension was reviewed 28 October 2026. The values and totals are independently computed expectations, not observed Calc results. Exact-build native execution, chart appearance, screenshots, and save/reopen verification remain pending; no account is needed for this practice.

Create one Orders series

  1. Select A1:B5 and choose Insert β†’ Chart.
  2. In Chart Type choose Column, the normal 2D variant. Leave 3D off.
  3. On Data Range, select Data series in columns and enable First row as label and First column as label. The source must cover $Orders.$A$1:$B$5.
  4. On Data Series, inspect the actual roles: one series named from B1, values from B2:B5, and categories from A2:A5. If another series is present, correct the orientation and labels before continuing.
  5. On Chart Elements, type Monthly orders as the title, Month for the X axis and Orders for the Y axis. Keep the legend during checking so its Orders label is visible. Finish, then click outside the chart.

Chart Wizard: Data Range documents the range and orientation controls; Chart Elements explains titles and legends. The title is typed text, while the series label comes from its source cell.

Check meaning before appearance

Read left to right: January 12, February 16, March 14, April 20. April is highest; January is lowest; March is lower than February. There must be four categories and one series. A convincing-looking upward line would still be wrong if February and March were reversed.

For a column comparison, keep the value axis starting at zero. If you need to inspect or set it, double-click the chart to enter chart-edit mode, open the Y axis properties, and inspect its Scale settings. Keep text readable instead of adding perspective or decorative gradients.

Test an edit, then an appended row

Click outside the chart to return to sheet editing. Change B4 from 14 to 18. The expected third value is now 18, with the same four categories; D2 becomes 66. Restore B4 to 14 and verify the original shape and total.

Now type May in A6 and 22 in B6. Inspect the source before expecting a fifth category. Double-click the chart and choose Format β†’ Data Ranges. Set the source explicitly to $Orders.$A$1:$B$6, preserving the two label settings and columns orientation. Confirm that the series values end at B6 and categories end at A6.

Expected sequence: 12, 16, 14, 20, 22, with five categories. Change D2 to =SUM(B2:B6); expected 84. A source-cell edit and an added row are different tests: a chart can update existing points while its selected range still excludes a new month. Calc Guide 26.2, Chapter 6 documents linked source edits and explicit range changes.

Compare a line view

With the chart in edit mode, use Format β†’ Chart Type and select a 2D line variant with points. Keep the same source and verify all five values again. The line emphasizes the ordered month-to-month movement; the columns emphasize individual monthly counts. Neither is a cumulative total.

These month names are category labels. This example does not establish elapsed-time spacing for uneven dates; use a scatter chart with a date axis for that problem.

Add a nonadjacent Planned series

Keep A1:B6 unchanged, including May 22, and keep D2 as =SUM(B2:B6). Click outside the chart. Enter Planned in F1 and these numbers in F2:F6, in the same month order:

Row / month already in A Orders already in B Planned to enter in F
2 / January 12 14
3 / February 16 15
4 / March 14 16
5 / April 20 19
6 / May 22 21

Use H2 for =SUM(F2:F6); expect 85, while D2 remains 84. The blank spacing columns and D2 check total are not chart data. Do not select the rectangle A1:F6: it would also include C:E.

  1. Double-click the existing chart. Use Format β†’ Chart Type to return to the normal 2D column view, then choose Format β†’ Data Ranges and open the Data Series tab.
  2. Select Orders and inspect its Name and Y-Values. Choose Add, select the new series, and set its two roles using the table below. Each role uses one contiguous range, so this method needs no multi-range delimiter.
  3. Set the shared Categories to $Orders.$A$2:$A$6. Inspect both series individually before accepting the dialog; remove any accidental extra series. Keep the legend visible.
Series Name range Y-Values range
Orders $Orders.$B$1 $Orders.$B$2:$B$6
Planned $Orders.$F$1 $Orders.$F$2:$F$6

There must be two series, five categories, and five numbers per series, with no header or total inside a values range. Chart Wizard: Data Series explains separate roles and Add/Remove. January should compare 12 with 14; March 14 with 16; May 22 with 21. Both series measure order counts on the same scale.

If you enter a combined range instead

The equivalent source is A1:B6 plus F1:F6, not A1:F6. Calc Guide 26.2 gives a comma for English (USA): $Orders.$A$1:$B$6,$Orders.$F$1:$F$6; some locales use a semicolon instead. Online Help shows semicolons. Do not treat either as universal. Outside chart-edit mode, inspect Tools β†’ Options β†’ Languages and Locales β†’ General β†’ Locale setting and LibreOffice Calc β†’ Formula β†’ Separators β†’ Array column; do not change locale just for this exercise. If rejected, return to the per-series method above. Preserve columns orientation and both label settings, then recheck every role. See Calc Guide 26.2, selecting non-adjacent data.

This chart data table displays the plotted values below the chart; it is not a what-if table for recalculating scenarios. It does not replace the worksheet source cells.

  1. In chart-edit mode, choose Insert β†’ Data Table, enable Show data table, and accept. Enable Show keys if useful for matching the two rows to the legend; borders and outline are optional. Chart Data Table Help documents these display controls.
  2. Read all five month columns against the practice table above: Orders 12, 16, 14, 20, 22 and Planned 14, 15, 16, 19, 21. Do not expect D2 or H2 totals in this table: they are outside the chart source.
  3. Click outside the chart, change F4 from 16 to 18, and inspect both chart and displayed table. Only Planned’s March value should change; H2 becomes 87. Orders stays 84, its March value stays 14, and the five categories stay unchanged.
  4. Restore F4 to 16. Verify the Planned sequence and total 85 return, with Orders still 84. To test removal, return to Insert β†’ Data Table in chart-edit mode and clear Show data table; this hides the display, not source cells or series. Turn it on again for the final check.

Recovery and final check

  • Several unexpected series: correct row/column orientation and inspect each source role. The original lesson needs one Orders series; the extension needs exactly Orders and Planned. Remove any series from C:E rather than clearing the worksheet check total.
  • May missing: extend both values and category ranges; do not merely type a title containing May.
  • Menu commands seem wrong: click outside the chart to return to sheet editing, or double-click it for chart editing.
  • Wrong source after experimentation: reset A1:B6 to the original table plus May 22. For the extension, restore F2:F6 to 14, 15, 16, 19, 21 and reapply the exact Name, Y-Values, and Categories ranges above. Replacing the source with A1:B6 alone would drop Planned.
  • Wrong month/value pairing: both values ranges must start at row 2 and end at row 6; categories must cover A2:A6 in the same order. A total can be correct even when labels are shifted.
  • Table missing or clipped: first confirm chart-edit mode and Show data table. Leave edit mode, select the chart object once, and enlarge it if needed. Do not shrink text until it is unreadable.
  • A range string is rejected: check the local delimiter or use individual series roles; do not include intervening columns to make a rectangular selection.

Click outside the chart, save, close, and reopen the ODS. If you stopped at the original lesson, check one series, five categories, values ending at 22, and total 84. For the extension, check both series and their exact ranges, the five January–May categories, Orders 84, Planned 85, restored March values 14 and 16, and the visible data table with all ten values. If only the original lesson is wanted again, remove Planned through Data Series and hide the chart data table; Orders must remain intact.

The workbook is the editable master; a chart image is only a snapshot. Review SUM for the check totals. These are reader acceptance steps, not a claim that native execution, screenshots, or persistence have been verified. This bounded lesson does not complete the wider chart feature checklist.