Two reasons why this may fail:1. You tried it from a local file (and not
http://). This is a known issue with flash / js.
2. Make sure that the data table structure makes sense to be used in that
chart. Have a look here:
http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html#Data_Format
VizGuy
On Sat, Nov 8, 2008 at 12:00 AM, Golan <[EMAIL PROTECTED]> wrote:
>
> I have successfully loaded and displayed a table (new
> google.visualization.Table) using the Google Visualization API and a
> json datasource.
>
> <excerpt>
> var json_table = new
> google.visualization.Table(document.getElementById('div'));
> var json_data = new google.visualization.DataTable(<json>, 0.5);
> json_table.draw(json_data, {showRowNumber: true, page: 'enable',
> pageSize: 20});
> </excerpt>
>
> The first column of the dataSource is defined as type:'date'.
>
> When I try the following I see nothing
>
> <excerpt>
> var json_table = new
> google.visualization.AnnotatedTimeLine(document.getElementById('div'));
> var json_data = new google.visualization.DataTable(<json>, 0.5);
> json_table.draw(json_data, {displayAnnotations: true});
> </excerpt>
>
> Is there any limitation with the AnnotateTimeLine visualization that
> prevents it from working with a json dataSource?
>
> Any assistance and/or guidance would be extremely appreciated.
>
> Thank you.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---