PHPSpreadsheet generates invalid file with charts
问题 I am migrating the existing/working app from PHPExcel ( phpoffice/phpexcel: 1.8.0 ) to PHPSpreadsheet and I have hit an issue when generating Excel file containing one or more charts . Without any addChart calls, the generated file is valid, but as soon as I add a chart, the resulting file becomes invalid. Excel does attempt to recover the data, which succeeds but without a chart. Excel recovery tool shows: Excel completed file level validation and repair. Some parts of this workbook may have