From VBScript to Javascript

M

MrNDIS

I am looking for a Javascript equivalent to the following VBScript
line

chartspace.SetData c.chDimCategories, c.chDataBound, Array("Qtr1",
"Qtr2","Qtr3", "Qtr4")

thanks
 
M

MrNDIS

Do you mean like this

In VBScript
chartspace.SetData c.chDimCategories, c.chDataBound, Array("Qtr1",
"Qtr2","Qtr3", "Qtr4")
In JScript
chartspace.SetData(c.chDimCategories, c.chDataBound,
"Qtr1","Qtr2","Qtr3", "Qtr4");

It does not work
 
M

MrNDIS

if you google atwww.google.com/codesearchkeyword chartspace1.setdata you
will find plenty of working examples to pick from.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Bookwww.lulu.com/owc
Thanks. I looked unfortunately all the examples are in VBScript. I was
looking for an example in javascript. However, since OWC will not work
in other browsers anyway, may be the right thing to do is to implement
the code in VBScript.
Thanks
 

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