test that drag is constrained by the chart borders