Hi, One thing that may be related, is that you have to wait for the 'ready' event before you can communicate with the chart. Please refer to the docs and the playground for more details.
Regards, VizGuy On Tue, Oct 27, 2009 at 9:34 PM, peted <petermden...@gmail.com> wrote: > > Hello, I am trying to set the visible range on the annotated timeline > to a specific few days, but the code below doesn't seem to affect > anything. Any suggestions? Thanks in advcance > > > var chart = new google.visualization.AnnotatedTimeLine > (document.getElementById('annotated_timeline')); > chart.draw(data, { > width: 610, > height: 280, > legendPosition: 'newRow', > thickness:'3', > fill:'9', > dateFormat:'dd/mm/yyyy', > displayRangeSelector:false, > colors: ['green','red','orange','gray'] > }); > > startRangeValue = '09/12/2009'; > endRangeValue = '09/14/2009'; > chart.setVisibleChartRange(startRangeValue,endRangeValue); > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to google-visualization-api@googlegroups.com To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---