@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.graph);

    plot.initialize(this, settingsHelper, resourceHelper);
  }
 @Subscribe
 public void onEvent(ScrollEvent event) {
   float relativeScroll = event.getDistanceX() / plot.getWidth();
   measurementPresenter.scroll(relativeScroll);
 }
 @Subscribe
 public void onEvent(TapEvent event) {
   if (!plot.onTap(event)) {
     super.onEvent(event);
   }
 }