OfficeDev / OfficeDev/open-xml-docs
Using sample codes to add a chart to excel make file corrupted
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 110
- Forks
- 73
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 1
Description
I'm using sample code and also my own written codes to add chart (Pie and Bar chart), ruin the excel file, and it throw error during opening.
Im trying to add chart to an excel which is loaded into MemoryStream, and exactly using the sample code.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by obtaining the sample code, the custom chart code, and a minimal workbook or MemoryStream reproduction; none is included in the issue. Reproduce the failure when opening the generated file and compare the Pie and Bar chart cases. Done means identifying whether the sample or its documentation produces a valid, openable workbook and recording the exact correction.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100