The problem occurs when a chart contains more than one line. AE: http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/xslf/usermodel/BarChartDemo.java created a corrupted pptx when using msoffice. Openoffice manages it.
fixed by r1870604
This solution(r1870604) caused a new bug in org.apache.poi.xwpf.usermodel.examples.BarChartExample, which can open word documents, but cannot open Excel data. There is no problem in the poi 4.1.0 version.
(In reply to Sayi from comment #2) > This solution(r1870604) caused a new bug in > org.apache.poi.xwpf.usermodel.examples.BarChartExample, which can open word > documents, but cannot open Excel data. > > There is no problem in the poi 4.1.0 version. I think that the size of the current series should be correctly calculated when xx.addSeries, and also need to update the Excel table.xml data.
As my checks with the latest version are producing files which can be open with PowerPoint and Word, as well as editing the data through Excel, we need some more detailed report, including some information about the platforms and the versions of Microsoft Office used. If you are using code adapted from the examples, we would also highly appreciate your sharing of this code.
Closing due to lack of response from user.