Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert_a_chartto_cs #327

Closed
C6H10O5n opened this issue Jan 13, 2025 · 2 comments · Fixed by #328
Closed

insert_a_chartto_cs #327

C6H10O5n opened this issue Jan 13, 2025 · 2 comments · Fixed by #328

Comments

@C6H10O5n
Copy link

after running this sample the excel file cannot be opened

I create a new excel file and the run the method

InsertChartInSpreadsheet("Test.xlsx", "Sheet1", "MyFirstChart", new Dictionary<string, int>() { { "First", 1 }, { "Second", 2 }, { "Third", 3 } });

no errors when running the vs project yet when opening the file in excel I get: error : we found problem with some content.....do you want to repair...

when I try to recover the dialog shows: Repaired Records: Drawing from /xl/drawings/drawing1.xml part (Drawing shape)

yet no chart visible in excel?

any help would be greatly appreciated

image

@mikeebowen
Copy link
Collaborator

Hi @C6H10O5n,

Thanks for bringing this to our attention. This will be fixed in pull request 313 that updates the sample projects and documentation for the latest versions of the SDK and .Net. I will leave this issue open for now and close it when the PR is merged, so you're notified.

@C6H10O5n
Copy link
Author

Thanks to @SmokeyTheKat I did find a workaround by changing the [Https:] to [Http:] in the URI on line 165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants