Closed flyke closed 1 year ago
You are unfortunately correct. There is no support for charts for xls. There is also precious little information on how to generate or read a chart in the BIFF format which xls uses. I have added a note to issue #3403 to formally document this lack of support, and will therefore close this issue now. Sorry.
This is:
What is the expected behavior?
Convert a .xls spreadsheet with charts to PDF: the PDF contains the same charts
What is the current behavior?
When converting a .xls spreadsheet to PDF, the PDF has no charts at all
What are the steps to reproduce?
Use attached .xls demo file. demo-xls-file.xls
Use the following code:
use PhpOffice\PhpSpreadsheet\IOFactory as SpreadsheetIOFactory; use PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf as ExcelMPDF;