Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Libreoffice Calc: Custom x axis label [closed]

I am trying to create a diagram in Libreoffice calc, where the x axis labels shall be intervals and the y axis labels shall be shown in percentage.

My table looks like this:

0-40        100%
40-70       96%
70-100      92%
100-130     84%
>130        63%

Unfortunately, the y axis labels are shown correct, but the x axis labels look like this, instead of labeling it with the given intervals:

0   1   2   3   4   5   6   7

Where the diagram begins with x=1 and ends up with x = 6.

I did not find a way to make calc label the x axis as specified and also did not find any help online. Probably someone knows?

like image 409
user1851182 Avatar asked Nov 25 '12 13:11

user1851182


People also ask

How do you change the X Axis in Libreoffice Calc?

That said, just right click on the chart, click on Data Ranges, Click on the Data Series tab and then change the ranges for the X-values and Y-values. You can manually edit or click on the button to the right to select it with the mouse.

How do you label axis in Libreoffice?

Right-click on an existing Chart and choose 'Edit' Right-click on the now-selected Chart & choose “Data Ranges”… On the first tab of the Data Ranges dialog (Data Range) put a tick✔ within both “First row as label” & “First column as label”


1 Answers

Edit the Data Series for your chart and let Categories point to the fields in your table that hold the labels.

  1. When in edit mode for your chart (simply double-click it, if not), right click and select Data Ranges....
  2. Select the Data Series tab.
  3. For each of the Data series make sure they point to the same fields containing your labels.
like image 194
joelpet Avatar answered Sep 19 '22 22:09

joelpet