none
Powerpoint 2010, create chart slide RRS feed

  • Question

  • Hi,

    I am implementing add-in for PowerPoint 2010 with VS2010.   Chart slides must be created in this   Add-in automatically. I found that I can implement follow type of chart (PowerPoint chart, MSGraph chart, Excel chart) in PowerPoint.   The question is witch type of slides apply to PowerPoint the best?

    I have chosen the PowerPoint charts but there is a problem by creating a chart with AddChart function of Shapes object.     After creating the chart is started the Excel program. But I don’t need Excel and the next question is:   how can I disable the starting excel and insert my data in SorceData for chart.

     

    Thanks

    Iso

     

    Monday, January 31, 2011 1:59 PM

Answers

  • Hi Iso

    The best resource for "How to" questions about PowerPoint are the specialized PowerPoint forums on "Answers":

    http://social.answers.microsoft.com/Forums/en-US/group/Office

    Unfortunately, I can't move messages from MSDN to Answers, so you'd need to re-post. But I have had a little experience with the charting engine in Office 2010 (all the apps share the same one), and had a chance to complain about some things during beta, including "Excel popping up". There's no way to change this. It's "by design" - and no, I can't figure that, either.

    The closest I can come to following that logic is: the "professional developer" is expected to create/manipulate Office documents via the Open XML file formats, rather than the "interop". Anyone working with the interop is interacting with the user. Excel appears when the user creates a chart, so it's going to appear if you use the interop to create the chart. Or, to put it another way, they aren't going to spend the time/money to create a different way of doing things for the interop.

    MS Graph has any number of drawbacks (and the PPT specialists will tell you not to use it), the most obvious of which is that you can't get the new, fancy stuff the 2010 charting engine produces.

    A possible option could be to produce the chart in Excel (behind the scenes, maybe even via OpenXML) and import that into PowerPoint. But go over and see what the PPT specialists suggest...


    Cindy Meister, VSTO/Word MVP
    Monday, January 31, 2011 2:24 PM
    Moderator