Open envynoiz opened 6 years ago
Hi @envynoiz
Thank you for submitting the enhancement suggestion. Currently an axis is required.
As a workaround you could use jQuery's draggable - demo: http://jsfiddle.net/oc1mn8ru/
I appreciate your workaround @KacperMadej but unfortunately I cannot use jQuery in my current project.
For the time being I’ll try to found another way and I’ll aware for any update regarding this enhancement.
Thank you!
Strictly speaking, this feature is outside the scope of the draggable-points
plugin. The plugin deals with editing data through dragging points around. Dragging a whole pie series is more about modifying the layout of the chart or dashboard.
I just installed the plugin on my environment and I added the "draggableX" and "draggableY" to a pie chart located on a combo chart with columns and splines; however, after everything is rendered, I'm unable to drag it and the following error is thrown:
ERROR TypeError: Cannot read property 'toValue' of undefined
I detected on the line 89 that it is necessary the toValue method from the "xAxis" and "yAxis" attributes located in the series object but a Pie chart does not have those members (I supposed this is expected because if you render it in a normal scenario you do not need this information on the series).
So I was wondering if it is possible to add this functionality to a Pie chart when it is located on a combo chart.
Thank you!