highcharts / highcharts/draggable-points

Is it possible to drag a Pie series on a combo chart?

Open
#86 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
32
Forks
32
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/highcharts/draggable-points/blob/cb5770ed0cc02eb0488932a39faafb63574a4b4b/draggable-points.js#L89) 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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.