figured it out. Besides the fact that the data should have dates,
instead of numbers...
I couldn't put the annotatedtimeline into the disclosurePanel. If I
put it into a regular panel, it would work fine. What I ended up
doing is setting the disclosurePanel.setOpen property to true, adding
the disclosurePanel to the RootPanel and then setting
disclosurePanel.setOpen to false.
disclosurepanel.setOpen(true);
RootPanel.get("waterform").add(disclosurepanel);
disclosurepanel.setOpen(false);
This is a similar issue to coding with the visualization api using
javascript. The 'div' had to be display=block before I could attach
the annotatedtimeline to it. And then of course display='none after.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---