draggable-points icon indicating copy to clipboard operation
draggable-points copied to clipboard

Dragging bars not implemented

Open jaapz opened this issue 10 years ago • 5 comments

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

jaapz avatar Jan 12 '15 11:01 jaapz

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

jaapz avatar Jan 12 '15 12:01 jaapz

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?

constantsphere avatar Feb 07 '17 09:02 constantsphere

@constantsphere you are a life saver dude thanks

utkagarwal avatar Nov 09 '18 05:11 utkagarwal

@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/

TorsteinHonsi avatar Nov 09 '18 08:11 TorsteinHonsi

@TorsteinHonsi thanks for the info!!!

utkagarwal avatar Nov 12 '18 13:11 utkagarwal