Skip to content

toggleDataPointSelection causes error in pie chart #1464

@vitalcrazz

Description

@vitalcrazz

Bug report

toggleDataPointSelection causes error in a pie chart in latest 3.18.0 version
while in 3.17 version it works just fine.

Codepen

https://codesandbox.io/s/vue-basic-example-5t1jf

Explanation

I'm using a donut chart and I call toggleDataPointSelection(0) method a long time after the chart is loaded (after user clicks a button).
I get the following error and a donut piece is disappearing instead of selecting.
<path> attribute d: Expected number, "M NaN NaN A NaN Na…".

Metadata

Metadata

Assignees

No one assigned

    Labels

    pieissue related to pie/donut charts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions