Has anyone got Chart.js working recently?

Chart.js on a wix site is not working, the example they give does not work (Corvid example: https://www.wix.com/corvid/example/chart.js-custom-element))

I have followed the instructions exactly, yet it does not show up. Is it outdated? If anyone has got it to work I would be extremely appreciative if you could share. I have premium and have my own domain.

You can open editor of this example: https://editor.wix.com/html/editor/web/renderer/new?siteId=ebf5ccbf-b4fa-48eb-8640-7d9c988305c7&metaSiteId=4bddc98c-ceaf-4fa5-9ea4-8f951fc17357&autoDevMode=true

The Custom Element work only with premium site then has an own domain

https://support.wix.com/en/article/corvid-about-custom-elements-8253009

I have premium and my own domain. That example you provided is the one wix provide also, if you follow it exactly and publish, it does not work. If you just preview/publish that example it also does not work.

Did you get an answer? Im trying the same.

Anyone got answer? I replicated the code, upgrade my plan to premium with my own domain and remove ad, but still cannot make the Chart.js works (even follow the sample https://editor.wix.com/html/editor/web/renderer/new?siteId=ebf5ccbf-b4fa-48eb-8640-7d9c988305c7&metaSiteId=4bddc98c-ceaf-4fa5-9ea4-8f951fc17357&autoDevMode=true )

please confirm can we use chart.js V 3.7.0 without premium site in preview mode? just for testing? as before 2.9.3 was working in preview and not in live mode.

Please observe the community guidelines and refrain from multiple posts on the same topic or question. You have posted the same question 4 times - 3 times just in this thread alone.

The duplicates have been deleted.

@yisrael-wix Your advised link was working with chart.js version 2.9.3 but we need to use latest chart.js version 3.7.0 as its not rendering in CustomElements.

A workaround has been provided as the tutorial is no longer compatible with the latest version of ChartJS. To report the Velo tutorial as out of date, please contact customer care .

To learn more about ChartJS and how to set it up using version 3.7, you may also refer to their docs and tutorials.

any updates how to solve this ?

ChartJS has been updated and will work, but you would have to follow ChartJS docs. The example will not work at this time due to an update in ChartJS which broke the code. The team that works on examples is aware of this and working on a compatible example. I recommend working from the ChartJS docs.