Apache OpenOffice (AOO) Bugzilla – Issue 4039
better automatic positions for labels on pie segments
Last modified: 2013-02-24 21:21:35 UTC
I've been using the program at work for a couple of years now. I generate a monthly report displaying returned goods according to responsibility in a pie chart. The problem is that with many 'pie wedges' the text labels overlap each other and become useless. I'm only an observer with no programming knowledge, but I'd love to see the ability to shift the order of the pie slices to make them easier to see. There should also be a function to make the text labels automatically spread out with lines connecting them to their associated wedges. Right now I have to reveal a single slice's text label, write down it's value, hide it, and then do the same for each adjacent slice. Then I activate the text labels that don't overlap others. Finally I add individual text boxes and draw lines to the associated wedges. Not too bad until I resize the chart and have to change the font size of each added text box. Thanks, Ric
Hi Björn, 1 4 U. Peter
This is an issue for the new chart implementation.
issue is not resolved but will be done later (thus the OOo Later Target)
accepted
set keyword, type and changed summary for better readability
*** Issue 13652 has been marked as a duplicate of this issue. ***
iha->bm: I'll take this issue.
.
changed target to 2.3
changed target to 2.x
adapting target
Fixed in CWS chart17. I implemented an algorithm that moves away overlapping labels. Labels that are more on top or more below are moved to the left or right. Labels that are more on the left or right side are moved in direction to the top or to the bottom. If enough space is available in the according direction on the chart page the labels are moved thus they don't overlap anymore. I'll attach a test document to show which scenarios now should be displayed without overlaps. When labels are moved they are connected with lines to the corresponding piece. The line color is equal to the text color of the label. When the line is shorter than about 5percent of the length of the diagonal of the whole chart the line is not drawn as so short lines don't look good.
Created attachment 49476 [details] example doc
->Thomas, please verify in CWS chart17.
Created attachment 49522 [details] Testdocument for BestFit
Created attachment 49553 [details] Testcasespecification
seen ok in cws chart17, tcs written -> verified
seen ok in current master -> closed