Code Monkey home page Code Monkey logo

Comments (7)

tomjebo avatar tomjebo commented on August 28, 2024 1

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.

archerofthemark avatar archerofthemark commented on August 28, 2024 1

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.

tomjebo avatar tomjebo commented on August 28, 2024

@Rohan-git-hub, can you provide the version of the Open XML SDK that you're targeting?

from open-xml-docs.

Rohan-git-hub avatar Rohan-git-hub commented on August 28, 2024

@tomjebo I am using Open XML SDK version 2.9.1

from open-xml-docs.

Rohan-git-hub avatar Rohan-git-hub commented on August 28, 2024

Hi @tomjebo any update on this and can you please share an alternate resource for the same.

from open-xml-docs.

rank-p avatar rank-p commented on August 28, 2024

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.

tomjebo avatar tomjebo commented on August 28, 2024

@archerofthemark Thanks for letting us know!

from open-xml-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.