This is indeed a bug. We are looking into it, and will notify as soon as we have any news.
Thanks for reporting. Regards, VizGuy On Tue, Mar 3, 2009 at 2:37 AM, Devel63 <[email protected]> wrote: > > With more experimentation, I see this same behavior even in the exact > sample code, under IE or FF. > > To see: > Hide col0, then show > Hide col1, then show ... you will not see it! > Hide col1, then show ... now you will > > This can be seen even in the associated AJAX API playground, by > modifying it to say: > t1 = new google.visualization.AnnotatedTimeLine > (document.getElementById('visualization')); > t1.draw(response.getDataTable(), {'displayAnnotations': true}); > t1.hideDataColumns(0); > t1.showDataColumns(0); > t1.hideDataColumns(1); > t1.showDataColumns(1); > > Help! Am I misunderstanding the way this is supposed to work? > > > > On Mar 2, 2:19 pm, Devel63 <[email protected]> wrote: > > Using the timeline from the API example code, if I call hideDataColumns > > (1), then showDataColumns(1), everything works as expected. > > > > But if I recreate the example with a third data series, sometimes a > > data series that I hide will not reappear when I call showDataColumns > > again. By hiding and showing it again, it will then reappear. > > > > This occurs 50% of the time, but I haven't quite figured out the > > pattern. > > > > Any ideas? > > > > Here is the code I added to the example: > > > > data.addColumn('number', 'Mine'); > > data.addColumn('string', 'title3'); > > data.addColumn('string', 'text3'); > > > > data.setValue(0, 7, 10000); > > data.setValue(1, 7, 34045); > > data.setValue(2, 7, 55022); > > data.setValue(5, 7, 75284); > > data.setValue(5, 8, 'New Title'); > > data.setValue(5, 9, 'New Text'); > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
