-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin doesn't work with @napi-rs/canvas@0.1.40, chart.js@4.2.1 #378
Comments
it seems that this plugin doesn't like data of which the structure is an object, as i inspected the formatter: (value, context) => {
let keys = Object.keys(context.dataset.data)
let key = keys[context.dataIndex]
return context.dataset.data[key]
} not a good solution though |
Ty, I was running through the same scenario as you. |
@Mikarrori Can't really help without a way to debug your issue. Since it's an old ticket, I hope you fixed your problem. If not, please provide a codepen that reproduces your use case. |
Tried chart.registry(datalabels) and plugins: [datalabels], no errors throwed and nothing happens.
Any hints or tips are appreciated.
The text was updated successfully, but these errors were encountered: