chartjs-plugin-streaming
chartjs-plugin-streaming copied to clipboard
Plans to update for ChartJS 4.x?
Are there any plans to update so we don't keep seeing the warning in install that ChartJS 3.0 dependency is not found?
It works with 4.x as far as I can tell, and using --force on the install works, but it would make me feel more comfortable if this plugin was officially supporting 4.x. :)
Any updates on this?
On another note, if installing with npm with the following package.json
{
"name": "chartjs-example",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"dev": "parcel src/index.html",
"build": "parcel build src/index.html"
},
"devDependencies": {
"parcel": "^2.6.2"
},
"dependencies": {
"@cubejs-client/core": "^0.32.9",
"chart.js": "^3.0.0",
"chartjs-plugin-streaming": "^2.0.0"
}
}
You have
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/chart.js
npm ERR! chart.js@"^4.2.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer chart.js@"^3.0.0" from [email protected]
npm ERR! node_modules/chartjs-plugin-streaming
npm ERR! chartjs-plugin-streaming@"^2.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Bumping this issue, I am using v4.2.1 of chart.js and cannot pass build process without using force, which isnt ok for production. Please provide timeline for this issue
"chart.js": "^4.2.1",
"chartjs-adapter-moment": "^1.0.1",
"chartjs-plugin-streaming": "^2.0.0",
"moment": "^2.29.4",
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/chart.js npm ERR! chart.js@"^4.2.1" from the root project npm ERR! peer chart.js@">=3.0.0" from [email protected] npm ERR! node_modules/chartjs-adapter-moment npm ERR! chartjs-adapter-moment@"^1.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer chart.js@"^3.0.0" from [email protected] npm ERR! node_modules/chartjs-plugin-streaming npm ERR! chartjs-plugin-streaming@"^2.0.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/chart.js npm ERR! peer chart.js@"^3.0.0" from [email protected] npm ERR! node_modules/chartjs-plugin-streaming npm ERR! chartjs-plugin-streaming@"^2.0.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR!
Same. would love to see this updated for 4.x. Thanks!
I am waiting for the next update of this package. It would be great to be able to use it in ChartJS 4.x environment. Thanks. :)
Is no one maintaining this repo any more? If anyone has a newer (and maintained) alternative, I'd be happy to switch.
Bump??
FYI: I found this forked repo for Chart.js V4.x , however I am unsure if it's legit or anything. Just wanted to let you guys know, will now try it myself.
@oasjohn ;)
Bump!
It would really be nice to have an update for this. I know it's on personal time!!! Thank you1
thanks @MiriamJo, I've just successfully upgraded an Angular 17 project to use chart.js@4
, switching over to @robloche/chartjs-plugin-streaming@3
at the same time.
I was about to check this one in "useful forks" when I saw your message, I appreciate you saving me a bit of a search. :)