Replies: 4 comments
-
@Bhager01 have the same issue? Did you solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Denis,
Unfortunately I was never able to resolve this. I am sure
Chartjs-node-canvas could be updated, I just didn't have the time /
knowledge to do it. For now I am still using Chart.js 3.x. Best of luck
if you figure out a solution!
…On Tue, Aug 27, 2024 at 5:56 AM Denis Gukov ***@***.***> wrote:
@Bhager01 <https://github.com/Bhager01> have the same issue? Did you
solve it?
—
Reply to this email directly, view it on GitHub
<#11216 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOTGTU4GDZTAEJGYVV7I3ALZTRELTAVCNFSM6AAAAABNFYHUIOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGEZTGOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I haven't looked at the project itself, but I noticed an issue about upgrading and someone posted a working way with another canvas library on node to use chart.js on the server: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks! I'll check this out.
…------ Original Message ------
From "Jacco van den Berg" ***@***.***>
To "chartjs/Chart.js" ***@***.***>
Cc "Bhager01" ***@***.***>; "Mention"
***@***.***>
Date 10/12/2024 12:11:46 PM
Subject Re: [chartjs/Chart.js] Updating Chartjs-node-canvas to support
Chart.js 4.X (Discussion #11216)
I haven't looked at the project itself, but I noticed an issue about
upgrading and someone posted a working way with another canvas library
on node to use chart.js on the server:
SeanSobey/ChartjsNodeCanvas#121 (comment)
<SeanSobey/ChartjsNodeCanvas#121 (comment)>
—
Reply to this email directly, view it on GitHub
<#11216 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOTGTU27VQQ477VTG6DVXF3Z3FC4FAVCNFSM6AAAAABNFYHUIOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJSGM2TKNA>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on updating the following library to support Chart.js 4.X:
https://www.npmjs.com/package/chartjs-node-canvas
I am not the original author of this library. Currently, I am getting the following error:
TypeError: this._chartJs is not a constructor
I believe the line of code in the library causing this error is:
const chart = new this._chartJs(context, configuration);
For reference this is how _chartJs is defined:
private readonly _chartJs: typeof ChartJS
Does anyone have a suggestion how to fix this? In general, is there a strategy utilizing the 4.x migration guide to find all potential breaking changes in this library? Thank you the help!
Beta Was this translation helpful? Give feedback.
All reactions