Skip to content

Unable to implement click functionality #421

Not planned

Description

@ravidsp

https://jsfiddle.net/ha19ozqy/

how can the functionality be implemented in this package?

Activity

  1. pringelmann commented on Dec 3, 2019

    @pringelmann
    Collaborator

    @ravidsp do you simply want to attach a click handler to the chart component itself? Or do you need to attach click handler to specific elements within the chart?

    Please take a look at this section of the documentation on how to handle click events: https://github.com/jerairrest/react-chartjs-2#events

  2. dangreen commented on Nov 30, 2026

    @dangreen
    Collaborator

    Closing: this is a usage question rather than a bug report or a feature request. The docs of the wrapper are at https://react-chartjs-2.js.org and the chart options are described in the Chart.js docs: https://www.chartjs.org/docs/latest/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions