Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging bars not implemented #16

Open
jaapz opened this issue Jan 12, 2015 · 5 comments
Open

Dragging bars not implemented #16

jaapz opened this issue Jan 12, 2015 · 5 comments

Comments

@jaapz
Copy link
Contributor

jaapz commented Jan 12, 2015

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

@jaapz
Copy link
Contributor Author

jaapz commented Jan 12, 2015

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

@constantsphere
Copy link

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
Copy link

@constantsphere you are a life saver dude thanks

@TorsteinHonsi
Copy link
Contributor

@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
Copy link

@TorsteinHonsi thanks for the info!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants