yes, it works also here
http://www.w3schools.com/js/tryit.asp?filename=tryjs_dom

but not in a Wiki or a Wordpress post:
http://opensourceecology.org/wiki/Google_Chart_Test

Nikolay

On Sun, May 20, 2012 at 9:48 PM, ChartMan <[email protected]> wrote:

> This works for me ...
> http://jsfiddle.net/EeXXa/
>
>
> On Sun, May 20, 2012 at 8:00 PM, Nikolay Georgiev <
> [email protected]> wrote:
>
>> I want to publish this data and chart:
>> https://docs.google.com/spreadsheet/pub?key=0Au4HBfGndfFmdDdBc2xETmdSNElHaThFOGlTOVNpaVE&gid=0
>>
>> but when I embed the Javascript to my website, I receive the red error
>> "First column must contain date, or date and time."
>>
>> The Javascript code is:
>> <script type="text
>> **/javascrip**t" src="//aja**x.googleap**is.com/aja**x/static/m**
>> odules/gvi**z/1.0/char**t.js"> {"dataSour**ceUrl":"//**docs.googl**
>> e.com/spre**adsheet/tq**?key=0Au4H**BfGndfFmdD**dBc2xETmdS**NElHaThFOG**
>> lTOVNpaVE&**transpose=**0&headers=**1&range=B1**%3AC11&gid**=0&pub=1",**
>> "options":**{"displayA**nnotations**":true,"vA**xes":[{"us**eFormatFro**
>> mData":tru**e,"viewWin**dowMode":"**pretty","v**iewWindow"**:{}},{"use**
>> FormatFrom**Data":true**,"viewWind**owMode":"p**retty","vi**ewWindow":**
>> {}}],"bool**eanRole":"**certainty"**,"displayR**angeSelect**or":false,**
>> "displayZo**omButtons"**:false,"wm**ode":"opaq**ue","hAxis**":{"useFor**
>> matFromDat**a":true},"**width":119**2,"height"**:483},"sta**te":{},"ch**
>> artType":"**AnnotatedT**imeLine","**chartName"**:"Chart 1"} </script>
>>
>> Any ideas how to fix that?
>>
>> Thank you,
>>
>> Nikolay
>>
>> --
>> 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/-/oI0qTuAMM78J.
>> 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.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> 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.
>



-- 
Nikolay Georgiev
osede.org - Open Source Ecology Germany | Contacts:
http://opensourceecology.org/wiki/Nikolay_Georgiev

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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