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