@Override
  public void movePerformed(CWidgetMoveEvent event) {

    CandlestickWidget widget = event.getWidget();
    Point[] disp = event.getDisp();
    double len = (disp[1].getY() - disp[0].getY()) * point2pixel;
    FIHelper.add(widget.getCandlestick().instrument(), -len);
  }
  @Override
  public void dropPerformed(CWidgetDropEvent event) {

    CandlestickWidget widget = event.getWidget();
    Point loc = widget.getWidget().getLocation();
    Rectangle sbounds = scene.getScene().getBounds();
    Rectangle wbounds = widget.getWidget().getBounds();

    double len = (sbounds.getHeight() - loc.y - wbounds.getHeight()) * point2pixel;
    FIHelper.add(widget.getCandlestick().instrument(), len);
  }