It works when I try it: http://jsfiddle.net/asgallant/9K7Dw/. Can you post
a complete example that demonstrates the problem?
On Tuesday, February 11, 2014 11:44:35 PM UTC-5, George Bradley wrote:
>
>
> I've got a problem when I insert the below code into my site. It prints
> the error Object [object Object] has no method 'draw'
>
> <script type="text/javascript" src="//
> ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js">
> {"dataSourceUrl":"//
> docs.google.com/spreadsheet/tq?key=0AmslO7_xaljudEM2dVZLRnZXZHJNd05uMkFUUzdYSmc&transpose=0&headers=1&range=A1%3AM30&gid=0&pub=1","options":{"vAxes":[{"useFormatFromData":true,"title":"Left
>
> vertical axis
> title","minValue":null,"viewWindow":{"min":null,"max":null},"maxValue":null},{"useFormatFromData":true,"minValue":null,"viewWindow":{"min":null,"max":null},"maxValue":null}],"titleTextStyle":{"fontSize":16},"series":{"5":{"hasAnnotations":true}},"booleanRole":"certainty","title":"Chart
>
> title","legend":"right","annotations":{"domain":{"style":"line"}},"hAxis":{"useFormatFromData":true,"title":"Horizontal
>
> axis
> title","minValue":null,"viewWindow":{"min":null,"max":null},"maxValue":null},"width":600,"height":371},"state":{},"view":{"columns":[0,{"label":"Company
>
> Name","properties":{"role":"annotation"},"sourceColumn":1},{"label":"Equity
> Type","properties":{"role":"annotationText"},"sourceColumn":2},{"label":"Exchange","properties":{"role":"annotationText"},"sourceColumn":3},{"label":"Sector","properties":{"role":"annotationText"},"sourceColumn":4},{"label":"Industry","properties":{"role":"annotationText"},"sourceColumn":5},6,7,8,9,10,11,{"label":"Model
>
> Buy
> Price","properties":{"role":"annotation"},"sourceColumn":12}]},"isDefaultVisualization":false,"chartType":"Table","chartName":"Chart
>
> 1"} </script>
>
>
> Any help would be much appreciated. Thanks!
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.