highcharts / draggable-points

MIT License
32 stars 34 forks source link

Is it possible to make draggable.js fit spider charts? #58

Open isaacloft opened 7 years ago

isaacloft commented 7 years ago

Hi there,

I am using highcharts to do some data demo in my project. One important graph is spider chart, and it works fantastically. After last group meeting, one suggestion was about making spider chart draggable, as they claimed "looking at the dash lines and polygons gives people a feeling that they can drag those".

I have tried apply draggable.js directly to my spider chart, it worked in a way. Draggable.js only enables drag along X and Y, and my spider chart has 7 angles. No matter which angle I want to drag to increase, I have to drag up, to decrease, dragging down. I am just wondering is there a way to enable the dragging along the actual spider angles?

Any reply would be appreciated!

TorsteinHonsi commented 7 years ago

Currently it isn't possible, but it should be possible to translate the mouse movements into the radial coordinate system of the spider chart, like we currently do with tooltip positions. I'll mark it as an enhancement.

isaacloft commented 7 years ago

Thanks for answering the question!

tprichards commented 6 years ago

Any update on this? It would be a great feature to have in. Thanks