Skip to content

Pie - Manually toggling data points selection results in invalid selectedDataPoints array #1108

@tommitch

Description

@tommitch

Codepen

Codepen to demonstrate the problem

Click the "manually toggle" button and watch the console output

Explanation

  • What is the behavior you expect?
    The selectedDataPoints array should contain an up to date list of the currently selected data points when toggled using the toggleDataPointSelection method.

  • What is happening instead?
    The selectedDataPoints is being filled with NaN on every click.

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