Bug 59936 - FORMATTING: enhancement request: enable line breaks in data labels for bar charts (as in column charts)
Summary: FORMATTING: enhancement request: enable line breaks in data labels for bar ch...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: Chart-Enhancements
  Show dependency treegraph
Reported: 2013-01-27 15:12 UTC by bugquestcontri
Modified: 2018-10-28 14:40 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

sample file with long chart lables (28.78 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-08-07 13:26 UTC, bugquestcontri

Note You need to log in before you can comment on or make changes to this bug.
Description bugquestcontri 2013-01-27 15:12:56 UTC
Data labels can sometimes be very long. This makes a pie chart very wide and requires a lot of space. It would therefore be very good if a selected single data label can have line breaks.

The same is valid for Draw

I can be contacted
Operating System: Windows XP
Version: release
Comment 1 m.a.riosv 2013-01-27 23:44:24 UTC
Hi bugquestcontri,

As a request for enhancement.

Please can you change the importance from normal to enhancement.
Comment 2 bugquestcontri 2013-01-29 06:16:53 UTC
Hi mariosv, good to see you here as well.

I would like to add the comment that in a bar chart. the category names do not break even if the "break" is flagged. 

In a column chart "break" works, but  it is not so nice. Text should be centered and not left aligned.

I keep in as an enhancement request. If someone wants to change to bug report it is fine with me.
Comment 3 A (Andy) 2013-03-23 23:12:26 UTC
Is this not a CALC instead of an IMPRESS issue?
Comment 4 bugquestcontri 2013-03-24 10:26:13 UTC
@A - First thanks for looking into many Impress bugs!!!! I appreciate this a lot.

No in this case it is not a Calc but an Impress bug. 

Additional comment:
In MS PP I preferred to create charts in PP by copy and pasting data from EXCEL. This keeps the presentation file small but allows always to quickly edit data. 
However, in Impress copy & paste of data from Calc into the data table of Impress is not possible. This forces me to most often do make my charts in Calc and copy & paste them over. Unfortunately there are also limitations in formats which can be copied and pasted. For both cases I posted bug reports.
Comment 5 Jorendc 2013-08-06 20:22:29 UTC

Is it possible to attach a sample document which shows this very wide data labels?

Thanks in advance,
Comment 6 bugquestcontri 2013-08-07 13:26:30 UTC
Created attachment 83782 [details]
sample file with long chart lables

I created a charts with long labels. (Long labels become important when results of a survey needs to be graphically displayed.) The label names used here match pretty will the average length of such labels from survey.

To my surprise in column charts under x-axis option I could select the line break and it works. 

For bar charts this did not work. (More important in statistical charts.)

For bar charts it is also to be seen that the default chart area is too small for the long, unbroken label text. 

For bar charts, reducing the chart area width did not enforce a line break.
Comment 7 Jorendc 2013-08-07 20:02:37 UTC
Thanks for your clear test document.
I can reproduce this behavior, tested using Windows 8 with LibreOffice Version: Build ID: 087a610fcd5c0c354a9ed6bfccd3451b667d62a3
TinderBox: Win-x86@6-debug, Branch:master, Time: 2013-08-04_21:41:24

Indeed, x-axis looks correct to me, y-axis labels could use some breaks there :).

Kind regards,