Home
> Discussions & Support
> Topic
Object doesn't support this property or method
Posted by YANKUMI
Object doesn't support this property or method May 15, 2009 03:54PM |
Registered: 14 years ago Posts: 4 |
hello !
i need your help.
i have problem with jschart when i proved
the first instance gives me : JSChart:NAME must be string and corespond to an existin id
and y click OK .
but after this error , gives me : Microsoft JScript runtime error: Object doesn't support this property or method
in this line : this.D.appendChild(dl)
my code is :
<script language="javascript" type="text/javascript">
var myData = new Array([10, 20], [15, 10], [20, 30], [25, 10], [30, 5]);
var myChart = new JSChart('chartcontainer', 'line');
myChart.setDataArray(myData);
myChart.setBackgroundColor('#efe');
myChart.setAxisName'Custom X Axis Name');
myChart.setAxisNameY('Y Axis');
myChart.setSize(500, 400);
myChart.setTitle('My Chart Title');
myChart.setTitleColor('#5555AA');
myChart.setTitleFontSize(10);
myChart.draw();
</script>
any ideas ??
thanks for your help
Edited 1 time(s). Last edit at 05/15/2009 03:56PM by YANKUMI.
i need your help.
i have problem with jschart when i proved
the first instance gives me : JSChart:NAME must be string and corespond to an existin id
and y click OK .
but after this error , gives me : Microsoft JScript runtime error: Object doesn't support this property or method
in this line : this.D.appendChild(dl)
my code is :
<script language="javascript" type="text/javascript">
var myData = new Array([10, 20], [15, 10], [20, 30], [25, 10], [30, 5]);
var myChart = new JSChart('chartcontainer', 'line');
myChart.setDataArray(myData);
myChart.setBackgroundColor('#efe');
myChart.setAxisName'Custom X Axis Name');
myChart.setAxisNameY('Y Axis');
myChart.setSize(500, 400);
myChart.setTitle('My Chart Title');
myChart.setTitleColor('#5555AA');
myChart.setTitleFontSize(10);
myChart.draw();
</script>
any ideas ??
thanks for your help
Edited 1 time(s). Last edit at 05/15/2009 03:56PM by YANKUMI.
Re: Object doesn't support this property or method May 25, 2009 11:39PM |
Registered: 14 years ago Posts: 4 |
Re: Object doesn't support this property or method May 26, 2009 06:00AM |
Registered: 15 years ago Posts: 117 |
The "JSChart:NAME must be string and corespond to an existin id" alert says you have not given JScharts an existing container ID. Is there a div or something with the "chartcontainer" id?
Sabin
--------------------
JS Charts - Created by Smartketer LLC
Sabin
--------------------
JS Charts - Created by Smartketer LLC
Re: Object doesn't support this property or method May 26, 2009 02:48PM |
Registered: 14 years ago Posts: 4 |
Sorry, you do not have permission to post/reply in this forum.