im sorry .. I dont know what a java script formatted array is. but anyways 
what im getting from the SQL library is normal string array (as far as I 
know).
one column of time stamp and one column of sensor data.
can i do something with it?

On Sunday, 28 October 2012 04:48:05 UTC+1, asgallant wrote:
>
> If your string is formatted as a javascript array, you can try parsing it 
> as JSON:
>
> var data = google.visualization.arrayToDataTable(JSON.parse(ar));
>
> On Saturday, October 27, 2012 4:07:04 PM UTC-4, Jishnu U wrote:
>>
>> Hi
>>
>> Im working on a website that uses google Line charts. Im receiving data 
>> from SQL table using a library function which we made that returns data as 
>> string array. 
>> How can I use this array to plot in line chart.
>> I tried using 
>>  var data = google.visualization.arrayToDataTable(ar);
>> but as all column and row are string I cant get the plot.
>> Does anyone has any solution to it??
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/qB2m9bu1RxAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to