Export WPF Chart to Excel

Jul 2, 2009 at 1:04 PM
Edited Jul 2, 2009 at 1:05 PM

Can we export the chart created using WPF Charting (June 2009 release of the WPF Toolkit) to Excel? If possible , How?



Jul 7, 2009 at 7:09 AM


I believe you asked the same question on my blog: http://blogs.msdn.com/delay/archive/2009/06/25/wpf-charting-it-s-official-june-2009-release-of-the-wpf-toolkit-is-now-available.aspx#9813868

Here was my reply:

What kind of export are you looking for? The chart is created from data the application owns, so if the application wants to export that same data to Excel (via COM/XLS/CSV/etc.), then it can do so. If an image of the chart is desired, that can be obtained via WPF's RenderTargetBitmap. I'm not sure what export functionality people are looking for from the Chart control itself, so if you have specific scenarios in mind, I'd love to hear them!