Apache OpenOffice (AOO) Bugzilla – Issue 66246
Updating %value in 3D pie chart is wrong
Last modified: 2013-02-24 21:20:05 UTC
Create a 3D pie chart. Add %value on 3D pie chart. %values are right. Modify data so that the sum is changed. Size of pie's parts are correctly modified, but % values become wrong. No problem with 2D pie chart. No problem if values are displayed. It seems to me that the sum is not updated to calculate % value.
Created attachment 37008 [details] 3D pie chart with wrong % values
duplicate *** This issue has been marked as a duplicate of 60067 ***
closed as duplicate
Would you please explain why this issue is a dupplicate of 60067? Do you mean that it fixed thanks to future version 2.0.4? Because I don't see any link between the two issues. What does "SRC680/dr48" mean? I noticed that the newest version is src680_m169 on http://download.openoffice.org/680/index.html How can I get this dr48 version of OOo? Many thanks in advance.
The problem is still present in OOo 2.0.3
As written by yourself will fixed in Version 2.0.4 (i60067) and not in 2.0.3. Also is this Issue (i66246) an duplicate to i60067 and i can't see any reason to reopen this one. I will set it again to duplicate and maybe we can wait to close it it after integration of CWS dr48. *** This issue has been marked as a duplicate of 60067 ***
Uups, sorry Jumbo, you are absoluly right. The "duplicate" matched only for the "updating" but not for the (second) recalculating issue. -> BM: as Jumbo described after changing the values into the calc the 3D Pie Chart calculate the % Values wrong. -> Jumbo: sorry again, it was my fault.
reassign
Confirmed. The percentage values are calculated based on the former sum. Only for 3d pies, and not persistent, i.e. after saving and re-loading the values are correct again. Very strange, indeed!
The chart axis indeed caches the totals, but doesn't invalidate the cache when data changes. Only place where this is done (invalidation) is in the Initialise() method. Question: Why isn't Initialise() called for 3d charts when the data has changed?
Aha! In Create2dBackplane() and Create3dBakcplanes() and Create2dNetChart() Initialize is called for all necessary axes. In 2d-pie charts the total is calculated independently of an axis (and is therefore correct there, as it is always calculated new). Only 3d pie charts use the y-axis (which is not visible but exists as object) to calculate the percentages. Obviously the Initialize-call misses there.
This is no problem with the new chart (see beta version of build coming in the next days. Check http://graphics.openoffice.org/chart/chart.html) As we are no longer fixing bugs for the old chart implementation, this will be moved to a later target (currently, 2.x, which is supposed to become the successor of 2.2)
Please verify in Milestone 9 that this issue does not appear in the new chart.
Issue is fixed in millestone 8. I'm downloading milestone 9 and tell you soon about it.
Issue is fixed in milestone 9. (As mentioned above, it is not fixed in 2.0.4)
changed target to 2.3
seen ok -> verified
Fixed in 680 m215, closing.