This code works well for me.Can you provide more details about the browser
and OS?
In addition, if you could send a link t oa real http page, it could help too
(although I see it can be problematic).

VizGuy


On Wed, Jan 28, 2009 at 6:55 PM, jago <[email protected]> wrote:

>
> No. Serving from a server does not work.
>
> On Jan 27, 8:44 pm, VizGuy <[email protected]> wrote:
> > This must be the same known issue of Flash served from a local file.
> > I believe that if you try to serve it from a web server (accessing the
> file
> > from http://....) it will work well.
> >
> > Please see earlier posts in the group regarding how to make Flash
> interact
> > with javascript for local files.
> >
> > Regards,
> > VizGuy
> >
> > On Tue, Jan 27, 2009 at 3:21 PM, jago <[email protected]> wrote:
> >
> > > The code below works fine and shows the annotations on the left. What
> > > it does not show is the little squares "A" and "B" at the data point
> > > which represent the annotations.
> >
> > > Any clue what is going on here?
> >
> > > <html>
> > >  <head>
> > > <script type='text/javascript' src='http://www.google.com/jsapi'></
> > > script>
> > > <script type='text/javascript'>
> > >      google.load('visualization', '1', {packages:['piechart',
> > > 'scatterchart', 'orgchart', 'linechart', 'areachart', 'barchart',
> > > 'columnchart', 'gauge', 'map', 'intensitymap', 'geomap',
> > > 'annotatedtimeline']});
> > >      google.setOnLoadCallback(drawChart);
> > >      function drawChart() {var chart = new
> > > google.visualization.AnnotatedTimeLine(document.getElementById
> > > ('chart_div'));var json_data = new google.visualization.DataTable
> > > ({cols: [{id:'date',label:'Date',type:'date'},
> > > {id:'sold_pencils',label:'Sold Pencils',type:'number'},
> > > {id:'title',label:'Title',type:'string'},
> > > {id:'text',label:'Text',type:'string'}, {id:'sold_pens',label:'Sold
> > > Pens',type:'number'}, {id:'title',label:'Title',type:'string'},
> > > {id:'text',label:'Text',type:'string'}], rows: [{c:[{v:new Date
> > > (2008,1,1)}, {v:30000}, , , {v:40645}, , ]}, {c:[{v:new Date
> > > (2008,1,2)}, {v:14045}, , , {v:20374}, , ]}, {c:[{v:new Date
> > > (2008,1,3)}, {v:55022}, , , {v:50766}, , ]}, {c:[{v:new Date
> > > (2008,1,4)}, {v:75284}, , , {v:14334}, {v:'Out of Stock'}, {v:'Ran out
> > > of stock on pens at 4pm'}]}, {c:[{v:new Date(2008,1,5)}, {v:41476},
> > > {v:'Bought Pens'}, {v:'Bought 200k pens'}, {v:66467}, , ]}, {c:[{v:new
> > > Date(2008,1,6)}, {v:33322}, , , {v:39463}, , ]}]}, 0.5);chart.draw
> > > (json_data, {displayAnnotations:true,annotationsWidth:
> >
> > >
> 25,allValuesSuffix:'',legendPosition:'newRow',allowHtml:false,displayAnnotationsFilter:false,displayExactValues:false,displayZoomButtons:true});}
> > >    </script>
> > >  </head>
> >
> > >  <body>
> > > <div id='chart_div' style='overflow:auto; width:500px; height:400px;'
> > > ></div>  </body>
> >
> > > </html>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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