Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Registering a Plug-in #127

@Zigur

Description

@Zigur

Is it possible to register a chart.js plugin when using the 'v2' branch? How can it be done?
I am trying to add some labels to a doughnut chart (directly on the chart, like here) and using the afterDraw method of a plugin would seem the best option (like ). I tried to implement a componentDidUpdate method inspired by that code but it draws the labels first, then it clears them when the doughnut chart is actually drawn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions