move chart legend (last part to fix #49)