Skip to content

export excel file with line chart error xl/drawings/drawing1.xml #2333

Closed
@padi-dev-lucvt

Description

@padi-dev-lucvt

This is:

- [x ] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior?

Successfully save and open new .xlsx file with my data and chart

What is the current behavior?

The error that Component "xl/drawings/drawing1.xml" is deleted.
Don't understand why my chart became drawing.

What are the steps to reproduce?

I have a sample template and have corresponding chart data sheets
When I load them so when I fill them with data and export them, they give an error and the chart is not displayed
image
image
image
Sheet DATA_1 to display data for the chart "Comparison chart through experiments - phase A"
The data is still filled out but the chart is not displayed

Here is my code

code
code2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions