Chart.js code seems to accept only chart.js 2 and not chart.js 3 & chart id not defined

I’m building a plugin for a custom chart, but i made a code in codepen and it works just fine.
but now when implementing it in bubble my doughnut cutout does not work,

so i did an investigation and

cutout: ‘90%’ does not work
cutoutPercentage: 90 does work

my script for chart.js is :

besides that i also get the message chart id not defined.
in codepen its in the html but how do i do this in bubble?

does anybody knows about this issue?

anybody that can help me?

so nobody knows anything about this? :frowning: