Chart.js 3 compatibility #213
Replies: 9 comments 56 replies
-
I followed the procedure, I retrieved the file chartjs-plugin-datalabels.min.js which I call in my mock-up after the file chart.min.js. I display a graph of type sector but the labels are not displayed... did I forget something? |
Beta Was this translation helpful? Give feedback.
-
Hello, It not work for
|
Beta Was this translation helpful? Give feedback.
-
Good afternoon, I don't mean to be rude and I know you guys are probably very busy. But can I get a rough idea of when this plugin is going to be compatible with ChartJs V3? I have developped an application that uses Datalabels and HAS to be running with the latest version of ChartJs. Just before deploying it, ChartJs became incompatible with Datalabels and I have been on stand by ever since. I was under the impression that you guys were close to catch up with ChartJs V3 and kept hanging on an imminent release. Now I just found out that Datalabels V1 is not compatible with ChartJS V3 which I misunderstood would be. So you guys do what you can, but can you give me an idea? Is it going to take a few weeks? More like 6 months? A year? So I can make decisions about my app. Thank you. |
Beta Was this translation helpful? Give feedback.
-
@simonbrunel and everyone else working on it, you are doing an amazing job. There's a weird behaviour when you hover that more labels suddenly appear, but otherwise it works as expected. |
Beta Was this translation helpful? Give feedback.
-
Good afternoon, I am facing a problem with plugin "chartjs-plugin-datalabels (v1.0.0)". Could you teach me how to resolve this error? Here is the error message: TypeError: Cannot read property 'extend' of undefined
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to get the RC-2 version of datalabels working with chart.js 3.2.1, but still no success.. It should do something right? Here is my jsfiddle, could you please point me in the right direction with this? |
Beta Was this translation helpful? Give feedback.
-
Hello folks! We're using Chart.js through None of the plugin loading techniques seems to be working. I am getting an error like #162 But the workaround suggested in there doesn't seem to apply anymore. I know it's not the So, all that to say, are you aware of potential issues or a way to get it to work? We can get it to run, once. And then we're getting an error starting at the second call. How are we loading it? We're registering it with But the second call (it's an API end point, no framework, just pure node) throws this: TypeError: Cannot read property 'x' of null
at orient (/Users/jp/code/grapherate/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.js:121:19)
at Object.fallback [as positioner] (/Users/jp/code/grapherate/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.js:345:13)
at coordinates (/Users/jp/code/grapherate/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.js:841:21)
at Object.draw (/Users/jp/code/grapherate/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.js:1012:18)
at Object.afterDatasetsDraw (/Users/jp/code/grapherate/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.js:1307:12)
at callback (/Users/jp/code/grapherate/node_modules/chart.js/dist/chart.js:799:15)
at PluginService._notify (/Users/jp/code/grapherate/node_modules/chart.js/dist/chart.js:6006:11)
at PluginService.notify (/Users/jp/code/grapherate/node_modules/chart.js/dist/chart.js:5993:23)
at Chart.notifyPlugins (/Users/jp/code/grapherate/node_modules/chart.js/dist/chart.js:7057:26)
at Chart._drawDatasets (/Users/jp/code/grapherate/node_modules/chart.js/dist/chart.js:6833:8) Thoughts anyone? |
Beta Was this translation helpful? Give feedback.
-
i am using chart.js ^3.2.1 and chartjs-plugin-datalabels 2, after importing the chartjs-plugin-datalabels and using it with the plugins key in my chart, I am running my react app but getting an error saying cannot read property skip of undefined. From the source code it is coming from the !el._model.skip. I really need help in fixing this error. Any help on this would be appreciated. |
Beta Was this translation helpful? Give feedback.
-
As the #233 seems resolved, is there anything else that I could help with that is blocking the release of this next version? I would really appreciate helping, I have a patch for Chartjs3 in my project but the only blocker is the official release of [email protected] |
Beta Was this translation helpful? Give feedback.
-
Status
Chart.js 3 is now fully supported!
Links: Documentation
Release:
v2.0.0
Milestone 2.x
Done
Beta Was this translation helpful? Give feedback.
All reactions