Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 799073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:04:10+00:00 2026-05-14T23:04:10+00:00

I have a PowerPoint template that contains one slide and on that slide is

  • 0

I have a PowerPoint template that contains one slide and on that slide is a chart. I’d like to be able to manipulate that chart’s data using .NET.

So far I have code that…

  1. unzips the Powerpoint file.
  2. unzips the embedded excel file (ppt\embeddings\Microsoft_Office_Excel_Worksheet1.xlsx)
  3. It successfully manipulates the data in the excel sheet and zips it back up.
  4. Opens and manipulates ppt\charts\chart1.xml
  5. Powerpoint is then zipped up and delivered to the user

The result of this is a PowerPoint file that shows a blank chart. But when I click on the chart and go to edit data it updates the data and shows the correct chart.

I believe my problem is with the chart1.xml that I am generating. I have compared my generated version with a version created by PowerPoint and they are almost identical. The only differences are in the values for <c:crossAx/> and <c:axId/>.

There are also some rounding differences in the data. But I do not feel like that would result in a blank chart.

Is there another file that I need to edit? Does anyone have any ideas as to what else I should try to get this working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:04:10+00:00Added an answer on May 14, 2026 at 11:04 pm

    It’s likely a combination the axID value and the rounding issues. The Axis ID, likely, is asking for an integer value and you may be supplying a single/double. So the cached data in chart1.xml doesn’t know how to display.

    Try your same manipulation that you’ve been doing, but instead of opening the result in PowerPoint, change the .pptx extention to .zip, unzip and then manually fix the rounding issues to match the original rounding. Then zip back up, change extension back to .pptx and open in PowerPoint. If this fixes the issue of display, you can confirm it is the rounding issue.

    Alternatively, and along the same lines. Open your resulting PPTX in PowerPoint as you have been doing, and once you’ve right-clicked and rehydrated the chart, save as a different file name and compare that with your automated result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have many PowerPoint presentations that I need to be able to add to
I am using Powerpoint 2007 and I have set up hyperlink from slide A
i have a single powerpoint slide that we use for reporting. This slidehas some
I have a powerpoint pres that grabs some data from an excel sheet when
I have an university powerpoint slide claiming that doing the sum of a succession
I have a script that opens Powerpoint from my application and exports all slides.
I have a PowerPoint file with a slide with an image (wmf/emp file) in
I have a CHM help file that has a few clickable links to powerpoint
I have tried looking into the creation of a PowerPoint presentation using C# but
I have made some code that makes powerpoint and excel work together. And I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.