Issue 97222 - Pie chart conversion to 3D loses category labels
Summary: Pie chart conversion to 3D loses category labels
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: sgautier.ooo
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-13 00:56 UTC by louisbotterill
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

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


Attachments
example with basic macro - click on the button to see the problem (15.54 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-01-30 13:51 UTC, IngridvdM
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description louisbotterill 2008-12-13 00:56:29 UTC
Using OO3.0m9 via UNO Java API - observed on Windows XP, Linux (CentOS) and
OpenSolaris 10

After creating a valid 2D pie chart with category labels and values, on
conversion to 3D (applying 3D property setting) the category labels are lost.

Please also see:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=20&t=12886

Example code, aDiagram is a valid 2D pie chart with category labels and values set:

System.out.println("Change Diagramm to 3D");
XPropertySet oCPS = (XPropertySet)UnoRuntime.queryInterface(
XPropertySet.class, aDiagram);

setting this seems to lose category labels... ?
oCPS.setPropertyValue("Dim3D", new Boolean(true));
Comment 1 IngridvdM 2009-01-30 13:48:32 UTC
I can confirm the problem.
Comment 2 IngridvdM 2009-01-30 13:51:59 UTC
Created attachment 59782 [details]
example with basic macro - click on the button to see the problem
Comment 3 IngridvdM 2009-06-09 16:54:47 UTC
Fixed in CWS chart39.
Comment 4 IngridvdM 2009-07-01 10:46:29 UTC
@Sophie, please verify in CWS chart39. Thanks, Ingrid!
Allow macros. Load the attached example document 'SwitchPieTo3D.ods'. Click on
the button 'Switch3D'. The expected result is that the texts within the charts
legend do not change. They still should be X1, X2 ... .
Comment 5 sgautier.ooo 2009-07-02 09:54:00 UTC
Verified in CWS chart39 - Sophie
Comment 6 sgautier.ooo 2009-08-05 13:12:27 UTC
Verified in DEV300m54 - Closing - Sophie