Thanks a lot Bob! now it is working. I thought that this integer is understood as a Date by Google API.
On Mar 22, 10:44 am, Bob <[email protected]> wrote: > Amer, > Having an integer like 20100322 (2010-03-22) is not a Date in > JavaScript. What you need to do is to turn all those values into Date > constructors like: > new Date(2010, 02, 22) > where the month offset is 0=Jan, 1=Feb, etc. > Then you'll see your data. > > Bob > > On Mar 21, 3:36 pm, Amer <[email protected]> wrote: > > > > > Hello! > > Iam trying to use "Annotated Time Line", but it shows this problem : > > =============== > > Message: Type mismatch. Value 20070927 does not match type date in > > column index 0 > > Line: 35 > > Char: 111 > > Code: 0 > > URI:http://www.google.com/uds/api/gdata/1.10/8ae1e081515b3d01d252fc9bd040... > > > ============= > > > My dataTable has 2 columns of type data and number! > > according to the data format of this visualization, the 1st column > > must be date and that's what iam using. > > In the doc they mention datetime as another type of the 1st column, > > but such dimension is not exist! > > > Please help! -- 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.
