Issue 66246 - Updating %value in 3D pie chart is wrong
Summary: Updating %value in 3D pie chart is wrong
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 15:15 UTC by jumbo444
Modified: 2013-02-24 21:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
3D pie chart with wrong % values (22.00 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-06-08 15:16 UTC, jumbo444
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jumbo444 2006-06-08 15:15:23 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.
Comment 1 jumbo444 2006-06-08 15:16:50 UTC
Created attachment 37008 [details]
3D pie chart with wrong % values
Comment 2 kla 2006-06-12 10:27:20 UTC
duplicate

*** This issue has been marked as a duplicate of 60067 ***
Comment 3 kla 2006-06-12 10:27:36 UTC
closed as duplicate
Comment 4 jumbo444 2006-06-12 17:39:14 UTC
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.
Comment 5 jumbo444 2006-07-04 09:26:17 UTC
The problem is still present in OOo 2.0.3
Comment 6 kla 2006-07-07 14:46:40 UTC
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 ***
Comment 7 kla 2006-07-13 09:54:57 UTC
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.
Comment 8 kla 2006-07-13 09:55:38 UTC
reassign
Comment 9 bjoern.milcke 2006-07-13 10:12:08 UTC
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!
Comment 10 bjoern.milcke 2006-07-13 10:22:00 UTC
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?
Comment 11 bjoern.milcke 2006-07-13 10:28:36 UTC
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.
Comment 12 bjoern.milcke 2006-10-31 17:03:25 UTC
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)
Comment 13 bjoern.milcke 2006-11-01 12:11:47 UTC
Please verify in Milestone 9 that this issue does not appear in the new chart.
Comment 14 jumbo444 2006-11-03 18:24:31 UTC
Issue is fixed in millestone 8. I'm downloading milestone 9 and tell you soon
about it.
Comment 15 jumbo444 2006-11-06 07:35:18 UTC
Issue is fixed in milestone 9.
(As mentioned above, it is not fixed in 2.0.4)
Comment 16 IngridvdM 2007-01-18 11:54:46 UTC
changed target to 2.3
Comment 17 kla 2007-04-26 08:33:59 UTC
seen ok -> verified
Comment 18 p9w.vu.31122010 2007-06-14 15:25:16 UTC
Fixed in 680 m215, closing.