How to use Microsoft Office Chart control ?
Hello, I’m trying it use the Microsoft Office Chart control 11.0 in VB.net (for a windows forms project) and can’t seem to get it to work, I’ve been playing around with various snippets of code. below is what I’ve got at the moment, I’m trying to feed in literal numbers. I placed a chart control on the form and called it ChartSpace1 and adjusted a couple of settings to get it roughly as I want it, then ran this code: Dim chConstants Dim chtNewChart chConstants = ChartSpace1.Constants chtNewChart = ChartSpace1.Charts.Item(0) chtNewChart.SetData(OWC11.ChartDimensionsEnum.chDi mCategories, 0, “Test”) It fails on the last line, with an “unspecified error” I’m not looking to do anything complicated, just a simple bar graph, and no, I do not want to pay $400 for a third-party control 🙂 Thanks for any help offered.
Related Questions
- I have Word Viewer 2003 and Microsoft Office Word 2003 installed on the same computer. How can I control which program starts when I open a Word document?
- Does my medical office need Electronic Medical Records, Electronic Health Records and/or Electronic Chart Files?
- How can I get events fired by an Office XP chart control hosted in my Windows Forms app?