A: 

data expects array.

try:

data: theDATA.split(','); 

if you are passing the string.

You can also convert theDATA to array before passing it to the drawChart function

EDIT

i found the problem

data: [3,4,6]

works, but:

data["3","4","6"]

doesn't work, and that is what you get after split, an array of strings, but it expects an array of integers

one solution is

data: theDATA.split(",").map(function(element){ return parseInt(element)})

the other solution is that you from your chartData.asp return JSON array. So instead of returning "2,3,4,5,6" you return [3,4,5,6,7] and call you function with

drawChart(eval(xmlhttp.responseText));

combined with

data: thisData
kodisha
Did not seem to work... here is the result of that http://nextbowluser.com/text/column-basic.asp
StealthRT
kodisha
You know what, i forgot about having all that data in my asp chartdata.asp page. I took it out and now it only passes back "7,7,0,0,0,0,0,8,16,1,6,5,1,1,8,15,22,1,5,2,2,1,1,1,1,1,8,0,8,7,6". But running the code again, it doesnt plot it on the chart???
StealthRT
i edited my post, i hope it works now.
kodisha
The drawChart(eval(xmlhttp.responseText)); worked but the json type did not it seems. It only loaded up one column when i did it that way. Thanks! :o)
StealthRT
Well... i just tested the code out in IE and it seems IE has a problem with the "data: theDATA.split(",").map(function(element){ return parseInt(element)})}".. any solution for IE?The error is "Object doesn't support this property or method"
StealthRT
if you are usung eval, there is no need for split, just use data: thisData
kodisha