Obtain reference to ActiveX control

T

Trevor W

Hello,

I have an InfoPath form with an unbound 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 use the Chart Control Object Model to link the chart to
data in the form, but I have no idea how to get 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
 

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