Hi,
I'm using GWT 1.5.3 with NetBeans 6.5

I want to catch the new range when someone change it on the timeLine
chart (chart bottom), so, I try to catch the RangeChangeEvent from my
TimeLine to get the Date From or To but I most probably miss
something, I don't know how to do because "AnnotatedTimeLine" don't
use standard EventListener.

A part of code in .java :
AnnotatedTimeLine timeLine = new AnnotatedTimeLine(data, options,
"700px", "300px");
RootPanel.get("chart").add(timeLine);
//add listener on "chart" to catch "RangeChangeEvent"
                  timeLine.addRangeChangeHandler(new RangeChangeHandler
() {

                            @Override
                            public void onRangeChange(RangeChangeEvent
event) {
                                myAlert(event.getFrom(););
                                throw new UnsupportedOperationException
("Not supported yet.");
                            }
                        });
...
public static native void myAlert(String str) /*-{
        $wnd.alert(str);
     }-*/;

Nothing append on my chart :(

Thxs a lot for you help

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

Reply via email to