Comments (7)
Just FYI, I tested the sample code with the latest SDK from github and with V2.5 and they both had that same behavior. We will have to create a new sample to demonstrate how to add the chart as it looks like this hasn't worked for a long time.
from open-xml-docs.
I've managed to get the C# sample code working, simply by replacing the link in the C# example
graphicFrame.Append(new Graphic(new GraphicData(new ChartReference() { Id = drawingsPart.GetIdOfPart(chartPart) })
{ Uri = "https://schemas.openxmlformats.org/drawingml/2006/chart" }));
with
graphicFrame.Append(new Graphic(new GraphicData(new ChartReference() { Id = drawingsPart.GetIdOfPart(chartPart) })
{ Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }));
Hopefully this helps.
from open-xml-docs.
@Rohan-git-hub, can you provide the version of the Open XML SDK that you're targeting?
from open-xml-docs.
@tomjebo I am using Open XML SDK version 2.9.1
from open-xml-docs.
Hi @tomjebo any update on this and can you please share an alternate resource for the same.
from open-xml-docs.
I'm running into the same issue. Is there any update or workaround or other resource on the internet that explains it correctly?
from open-xml-docs.
@archerofthemark Thanks for letting us know!
from open-xml-docs.
Related Issues (20)
- Extract code snippets from how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
- Extract code snippets from how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
- Extract code snippets from how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
- Extract code snippets from how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
- Extract code snippets from how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
- Extract code snippets from structure-of-a-spreadsheetml-document.md HOT 1
- Extract code snippets from working-with-conditional-formatting.md HOT 1
- Extract code snippets from working-with-formulas.md HOT 1
- Extract code snippets from working-with-pivottables.md HOT 1
- Extract code snippets from working-with-sheets.md HOT 1
- Extract code snippets from working-with-tables.md HOT 1
- Extract code snippets from working-with-the-calculation-chain.md HOT 1
- Extract code snippets from working-with-the-shared-string-table.md HOT 1
- Extract Packages and Document Parts
- Replace https with http in xmlns declarations
- xmlns should use http instead of https in multiple files
- Ensure we're not referencing specific versions
- Convert MSDN links to microsoft.learn
- Extract ISO/IEC 29500 references to snippet
- Consolidate using statement recommendation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-xml-docs.