Thank you VizGuy, I am now able to receive events after upgrading to the latest library (1.02).
The second part of my problem (date locale) seem to be already described here: http://groups.google.com/group/google-visualization-api/browse_thread/thread/cbe55119c22ac45a So I will wait for the next release, thanks! On May 14, 9:14 pm, VizGuy <[email protected]> wrote: > This sounds like an old bug that was already fixed.Can you please try to > load the latest jar and see if you still have this problem? > > Regards, > VizGuy > > On Sun, May 10, 2009 at 9:38 AM, Icky <[email protected]> wrote: > > > Hi, I am having problem receiving the RangeChangeEvent from > > AnnotatedTimeLine. > > > The use case is that I would like to preserve the zoom range between > > redraws of AnnotatedTimeLine. > > Since the AnnotatedTimeLine API for GWT doesn't support > > getVisibleChartRange(), I wanted to add a RangeChangeHandler to the > > AnnotatedTimeLine to listen for RangeChanges. > > > However my RangeChangeHandler never seem to receive any events when I > > manipulate the drawn graph. > > > code: > > AnnotatedTimeLine graph = new AnnotatedTimeLine(WIDTH, HEIGHT); > > graph.addRangeChangeHandler(new RangeChangeHandler() { > > public void onRangeChange(RangeChangeEvent event) { > > do something, like an alert > > } > > }); > > Options options = Options.create(); > > options.setDisplayAnnotations(true); > > options.setAnnotationsWidth(15); > > options.setDisplayZoomButtons(false); > > graph.draw(dataTable, options); > > > Anyone manage to receive RangeChange events? > > > and a side note, anyone manage to get the setZoomStartTime and > > setZoomEndTime methods working on options? When I set them, they seem > > to occupy an period 10 hours earlier than my input parameter. > > > For example, if I set ZoomStartTime to 11pm and ZoomEndTime to > > midnight, then the graph zooms to 1pm and 2pm instead. > > > However if I set ZoomStartTime to 11pm without setting ZoomEndTime, > > then the graph correctly zooms to start at 11pm. > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
