highcharts / draggable-points

MIT License
32 stars 34 forks source link

Dragging bars not implemented #16

Open jaapz opened 9 years ago

jaapz commented 9 years ago

Although dragging columns work, dragging bars does not. This would be nice to have.

jaapz commented 9 years ago

This has something to do with the x and y axes being switched places...

constantsphere commented 7 years ago

I needed to be able to drag bar charts for a home project I was working on so I had a go at modifying the code to make it work. Trying to get my head around all the X and Y coordinates in a rotated state almost made my brain melt but here is an example of the modified code... https://jsfiddle.net/constantsphere/mofb4m8g/

It now won't work for column charts but maybe someone could use it as a base to work from?

utkagarwal commented 5 years ago

@constantsphere you are a life saver dude thanks

TorsteinHonsi commented 5 years ago

@utkagarwal This now works out of the box with the new, featured draggable-points module: http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/dragdrop/bar-series/

utkagarwal commented 5 years ago

@TorsteinHonsi thanks for the info!!!