// Add the scale
this.scale = new TimeScale(graphContainer, resources);
// callback to update the details panel when transition changes.
Zoom.CallBack transitionCallback = new CallBack() {
public void onAnimationComplete() {
fixYAxisLabel();
double left = mainTimeLineModel.getLeftBound();
double right = mainTimeLineModel.getRightBound();
detailsViewPanel.updateCurrentView(left, right);