Hello,
I have an InfoPath form with a Microsoft Office 11.0 Chart Control in the default view. How do I get a reference to the Chart object in
JScript? I wish to access properties of the chart programmatically, so that I can link the chart to data in the form, but I have no idea how to get a reference to the chart object in the first
place.
The code I would like to write is something like:
var chtObj = ????? (this is the bit that I can't figure out)
// manipulate chart, add data, etc
chtObj.SeriesCollections.Add(...)
...
Does someone know how to do this?
Regards,
Trevor W