highcharts / draggable-points

MIT License
32 stars 34 forks source link

switching between series while dragging? #82

Closed raymar closed 6 years ago

raymar commented 6 years ago

I have two draggable scatter points on a risk matrix (severe case and median case). Is there a way how to switch points being dragged if the severe case y axis value exceeds the median case y axis value?

highcharts

The white point cannot be greater than the black one...if it happens I want to change the dragged point. In other words if the user exceeds the severe case, he will be suddenly dragging the black one.

TorsteinHonsi commented 6 years ago

Not out of the box I'm afraid. You need to write your own logic in the drag and/or drop event handlers to accomplish this.