Add chart via code

S

Scott

Inside of a WPF project written in C# I'm creating a new PPT presentation via
the interop libraries provided by installing Vistual Studio 2008 (so I guess
that's VSTO 3.0)

I've created the ppt file without issues, but I can't figure out how to add
a chart to a slide. I've got all the data that I want, but when I call the
add chart routine it doesn't seem to give me a way to set the data.

Can anyone provide an example of how to do this?
 
A

Austin Myers

Steve Rindsberg said:
If the story in VS is the same as in VB/VBA, no. MS hasn't exposed the
chart
object model in 2007.

Nope, no magic addition to the OM via VS. What ya see is what ya get...


--
Austin Myers
MS PowerPoint MVP Team

Provider of PFCPro, PFCMedia and PFCExpress
www.playsforcertain.com
 
B

Brian Reilly, MVP

Steve,
I think we have to wake up Cindy Meister who is now a VSTO MVP and was
a Word MVP who actually used Excel and PPT.

Yo, Cindy my darling
You listening?

Brian Reilly, MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top