Jump to content
Software FX Community

Cannot get data into a chart using Javascript and OpenDataEx


User (Legacy)

Recommended Posts

Hello!

Please can someone tell me why the code below does not work. It just brings

up random data

<OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA")

TYPE="application/x-oleobject"

WIDTH=500 HEIGHT=800 ID="TestChart"

CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

<PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

</OBJECT>

<SCRIPT LANGUAGE="JAVASCRIPT">

document.TestChart.OpenDataEX 1,1,-1;

document.TestChart.ValueEX(0,0) = 1547;

document.TestChart.CloseData 1;

</script>

Cheers

Eric

Link to comment
Share on other sites

Have I got the case right?

"Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

news:nAez3LkECHA.1324@webserver1.softwarefx.com...

> Hello!

>

> Please can someone tell me why the code below does not work. It just

brings

> up random data

>

> <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA")

> TYPE="application/x-oleobject"

> WIDTH=500 HEIGHT=800 ID="TestChart"

> CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> </OBJECT>

> <SCRIPT LANGUAGE="JAVASCRIPT">

> document.TestChart.OpenDataEX 1,1,-1;

> document.TestChart.ValueEX(0,0) = 1547;

> document.TestChart.CloseData 1;

> </script>

>

> Cheers

>

> Eric

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...