Bug 64950

Summary: about doughnutchart
Product: POI Reporter: wu <532777521>
Component: XWPFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: fanziang78
Priority: P2 Keywords: PatchAvailable
Version: 4.1.2-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Bug Depends on:    
Bug Blocks: 64992    

Description wu 2020-12-02 08:24:23 UTC
when i use this version.
i can't create a XDDFoughnutChartData instance with the method of 'createData(...) ' which in the class of XDDFChart


in other way.
when i create a CTDoughnutChart instance with XDDFChart.getCTChart().getPlotArea().getDoughnutChartArray(0);
i can't call the method of setHoleSize(...), because there is not class definition of CTHoleSize

if i don't use the setHoleSize  , the result of the program is a pie chart.
Comment 1 Dominik Stadler 2020-12-10 20:39:43 UTC
A PR for this is at https://github.com/apache/poi/pull/201/, you can help this by testing this, you can take the artifacts produced in a test-build at https://ci-builds.apache.org/job/POI/job/POI-DSL-Github-PullRequests/1/artifact/build/dist/
Comment 2 PJ Fanning 2020-12-16 09:16:21 UTC
*** Bug 64992 has been marked as a duplicate of this bug. ***
Comment 3 Alain Fagot Bearez 2021-01-19 04:02:06 UTC
The pull request at https://github.com/apache/poi/pull/201/ is now providing the expected behaviour to set the hole size.

I am still working to make the chart creation from scratch produce a file which opens with PowerPoint, as it currently only opens with LibreOffice.
Comment 4 Alain Fagot Bearez 2021-01-21 21:14:55 UTC
fixed by r1885771