Apache OpenOffice (AOO) Bugzilla – Issue 99895
Pie Chart : Crash when empty data label
Last modified: 2013-02-24 21:20:36 UTC
When we create a pie chart based on a selection of datas with one empty label. it produces a crash Detailed procedure to reproduce the crash | B | C | ===================== 7 |Label 1 | 7 | ===================== 8 |Label 2 | 30 | ===================== 9 |Label 3 | 12 | ===================== 10 |Label 4 | 29 | ===================== 11 |Label 5 | 6 | ===================== 12 | | 84 | ===================== in C12 put =sum(C7:C11) /!\ B12 must be empty Select B7:C12 area Insert > Chart > Pie > Normal > Next Data series in columns First column as label > Next > Next Untick « Display legend » > Finish Edit datas (by double click to obtain blacks squares then another doubleclick on datapoints) Tab Options > Starting angle : 0 degrees Tab « Data Labels » > Tick « Show category » Select inferior sector of the pie (simple clic) We must see a rectangle with green squares Right clic on the rectangle > Object properties > tab Area choose white Tab borders > Style Invisible > Ok ========================================= Could it be a problem of length of label variable which would produce a division by zero in the code ????
I confirm the crash on ubuntu 8.04 for OOo 3.0.1 and OOO310m3. In fact the crash is linked to the placement of categories. If you use default choice (Best fit) OOo crashes but not if you do another choice. Perhaps algorithm for best fit does a division by the length of category name string. Crash report ID : rbxw5vc Regards JBF
This is duplicate to issue 94813 and fixed within CWS chart35. I can confirm that the problem was caused by the 'best fit' label placement with empty labels. *** This issue has been marked as a duplicate of 94813 ***
closed as duplicate
Really duplicate of 94813 ? This one is not related to xls format. Regards JBF
That the example document of the other issue is xls format is not relevant. I changed the summary there accordingly.