Download it now!
Bug 93987 - SVG Export of Chart omits text (X Axis labels)
Summary: SVG Export of Chart omits text (X Axis labels)
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
Reported: 2015-09-07 11:55 UTC by Jaša B.
Modified: 2018-06-19 12:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

calc document with chart (413.77 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-09-07 11:55 UTC, Jaša B.
svg export of chart without x axis labels (180.13 KB, image/svg+xml)
2015-09-07 11:55 UTC, Jaša B.
png export of chart with visible x axis labels (79.20 KB, image/png)
2015-09-07 11:56 UTC, Jaša B.
chart-svg-LO-6.1-beta-2 (186.12 KB, image/svg+xml)
2018-06-19 12:25 UTC, Roman Kuznetsov
chart-svg-LO-6.1-beta-2.svg in Chrome (212.44 KB, image/png)
2018-06-19 12:26 UTC, Roman Kuznetsov

Note You need to log in before you can comment on or make changes to this bug.
Description Jaša B. 2015-09-07 11:55:02 UTC
Created attachment 118493 [details]
calc document with chart

Exporting chart to raster formats (PNG, GIF, JPEG and others) renders rotated X axis labels.

Exporting chart to SVG vector format does not export, let alone render rotated X axis labels, i.e. the labels do not even appear in the exported SVG file.

My system is Fedora 22 with LO

Reproduced also by vilpan from #libreoffice on version Debian GNU/Linux 7.9, LO Build ID: 437e4abdf9e72fd0a6e6f8697a0e659bc77f9b10 (from TDF, not distro-provided)

Please check attached ods document and exported graphics.
Comment 1 Jaša B. 2015-09-07 11:55:50 UTC
Created attachment 118494 [details]
svg export of chart without x axis labels
Comment 2 Jaša B. 2015-09-07 11:56:29 UTC
Created attachment 118495 [details]
png export of chart with visible x axis labels
Comment 3 vilpan 2015-09-07 12:07:30 UTC
Setting X axis label angle to 90 degrees works around the problem - axis labels are exported in SVG. LO
Comment 4 Jaša B. 2015-09-07 12:16:13 UTC
Additional testing  shows that labels are exported when the labels' text orientation is set to 90, 180, or 270 Degrees. The text is not exported when the degrees are somewhere in between.

The default behaviour is also strange. X axis labels are angled at 45 degrees but the Text Orientation setting remains at 0 Degrees. It is therefore impossible to have vertically oriented X axis labels by manipulating just the Text Orientation setting.
Comment 5 QA Administrators 2016-09-20 10:29:55 UTC Comment hidden (obsolete)
Comment 6 Jaša B. 2016-09-20 13:02:14 UTC
Confirming bug is still present in supported version Libre Office
OS is Fedora 24, Build ID:
Comment 7 QA Administrators 2018-06-18 02:41:56 UTC Comment hidden (obsolete)
Comment 8 Roman Kuznetsov 2018-06-19 12:25:32 UTC
Created attachment 142913 [details]
Comment 9 Roman Kuznetsov 2018-06-19 12:26:31 UTC
Created attachment 142914 [details]
chart-svg-LO-6.1-beta-2.svg in Chrome

looks fine after export chart to SVG from LibreOffice 6.1 beta 2

Status -> WFM