What is throwing that error message?  Is it PHP?

You will have to adjust the data types to the type of data you are using, 
so if your first column isn't type string, you need to change it to 
something else in the column definitions (this goes for all columns - types 
must always match).  Also, the (string) typecasting in this line:

$temp[] = array('v' => (string) $r['PLACA']);

is probably not necessary, unless you have a non-string data type that you 
need to specifically convert into a string.

If you can post a link to the page, I can help debug things on the 
javascript end, if it turns out that is where the problem is.

On Wednesday, September 26, 2012 4:47:20 AM UTC-4, Barbara Gerstl wrote:
>
> That is what I did... but, when opening goochart2.html, the result is the 
> Error-Massage "string". 
> I think, it has something to do with the field settings of the columns. Do 
> you have any tipps?
>
> Thank you!
>
>
> Am Montag, 24. September 2012 19:26:26 UTC+2 schrieb asgallant:
>>
>> You can extrapolate from the code that the table has 6 columns: PLACA, 
>> S1, S2, S3, S4, S5.
>>
>> On Monday, September 24, 2012 10:15:44 AM UTC-4, Barbara Gerstl wrote:
>>>
>>> Hello Diana!
>>>
>>> Thank you very much for showing the whole process on how to combine 
>>> Google Graph API with a MySQL-Database. That is exactly what I am looking 
>>> for.
>>>
>>> I tried to rebuild your example and I am having problems with the 
>>> structure of the database/field settings. Can you show me structure and 
>>> field settings of the table "bd_salidas"?
>>>
>>> Thank you for your answer.
>>> Barbara
>>>
>>>
>>> Am Mittwoch, 5. September 2012 21:56:35 UTC+2 schrieb Diana Flores:
>>>>
>>>> yeaaaaaaahhhHHHH!!!!, we did it!!!!!!!!!!!!!. well at first i tried the 
>>>> .DataTable(jsonData);  but it gave me errors but i put the 
>>>> JSON.parse(jsonData));  and it works!!!!!!!!!!!!!!!!!!....im so happy!!! i 
>>>> will attach the files in case someone has the same 
>>>> problem!!!!!!!!....really really grateful, cause with your help i learned 
>>>> a 
>>>> lot of things!!!!....one month ago I was "what its php or mysql....JSON 
>>>> O_O???"  i think its a lot, but thanks!!!!
>>>>
>>>>
>>>>

-- 
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/-/yc_P8YCfRrUJ.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to