Creating the ChartSpaceClass in Java

J

Jay Pondy

I am a VB/VB.Net programmer attempting to get a handle on OWC using client side
java script.

If I have the following embedded Chart object:

<object id="moCH11"
classid="clsid:0002E55D-0000-0000-C000-000000000046"></object>

and I use the following java code:

<script type="text/javascript">
document.moCH11.BuildLitControl();
</script>

I receive the error object does not support this property or method.

After 90 minutes of googling I'm a just a tad frustrated!!

Please point out the error of my ways. It's probably obvious to everyone but me!
 
A

Alvin Bruney [MVP]

That call is not needed. The object is already embedded in the form. Just
use the object handle moCH11.CSVData = "1,2,3,4"; etc. There's a thread I
posted in here about OWC resources, have a look.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 

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