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
2010-03-31 00:32:48