Having been able to add data to an Excel spreadsheet from F# using the answer at
F# and Excel integration for .NET 4.0 (Visual Studio 2010 Beta 1)
I find myself unable to figure out how to use the data inserted to create a chart (programmatically in Excel using F#). How can this be done?
I am using Excel 2007 (Office 12 component) and F# 2.0, if that is relevant.
I have an example that shows how to do that in Real-World Functional Programming book. The Chapter 13 first downloads some data, then adds them to Excel and creates a graph.
The following snippet isn’t a complete (working) code, because it relies on some objects constructed earlier, but it could give you an idea how to do that: