addHandlers();
}
private void addHandlers() {
chart.addRangeChangeHandler(new RangeChangeHandler() {
@Override
public void onRangeChange(RangeChangeEvent event) {
rangeStatus.setText("The range has changed.\n" + event.getStart()
+ "\nFalls mainly on the plains.\n" + event.getEnd());
}