# Has anyone got Chart.js working recently?

**URL:** <https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [July 2, 2020, 7:28pm UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250 "2020-07-02T19:28:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkhajenouri](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@dkhajenouri](https://forum.wixstudio.com/u/dkhajenouri)\
**Post date:** [July 2, 2020, 7:28pm UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/1 "2020-07-02T19:28:05Z")

</div>

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)](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.

---

<div class="post-metadata">

**Author:** ![alexanderz61239](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/alexanderz61239/32/16848_2.png) [@alexanderz61239](https://forum.wixstudio.com/u/alexanderz61239)\
**Post date:** [July 2, 2020, 7:34pm UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/2 "2020-07-02T19:34:27Z")

</div>

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](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](https://support.wix.com/en/article/corvid-about-custom-elements-8253009)

---

<div class="post-metadata">

**Author:** ![dkhajenouri](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@dkhajenouri](https://forum.wixstudio.com/u/dkhajenouri)\
**Post date:** [July 2, 2020, 7:41pm UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/3 "2020-07-02T19:41:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![diazcalvi](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/diazcalvi/32/22048_2.png) [@diazcalvi](https://forum.wixstudio.com/u/diazcalvi)\
**Post date:** [July 21, 2020, 8:43am UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/4 "2020-07-21T08:43:30Z")

</div>

Did you get an answer? Im trying the same.

---

<div class="post-metadata">

**Author:** ![keithhead](https://avatars.discourse-cdn.com/v4/letter/k/e56c9b/32.png) [@keithhead](https://forum.wixstudio.com/u/keithhead)\
**Post date:** [August 1, 2020, 8:35am UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/5 "2020-08-01T08:35:18Z")

</div>

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](https://editor.wix.com/html/editor/web/renderer/new?siteId=ebf5ccbf-b4fa-48eb-8640-7d9c988305c7&metaSiteId=4bddc98c-ceaf-4fa5-9ea4-8f951fc17357&autoDevMode=true) )

---

<div class="post-metadata">

**Author:** ![digensoftware](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/digensoftware/32/8817_2.png) [@digensoftware](https://forum.wixstudio.com/u/digensoftware)\
**Post date:** [February 3, 2022, 10:16am UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/6 "2022-02-03T10:16:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [February 3, 2022, 10:32am UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/7 "2022-02-03T10:32:30Z")

</div>

Please observe the [community guidelines](https://www.wix.com/corvid/forum/community-discussion/forum-policies-and-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.

---

<div class="post-metadata">

**Author:** ![digensoftware](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/digensoftware/32/8817_2.png) [@digensoftware](https://forum.wixstudio.com/u/digensoftware)\
**Post date:** [February 3, 2022, 2:11pm UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/8 "2022-02-03T14:11:46Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![amandam](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/amandam/32/79539_2.png) [@amandam](https://forum.wixstudio.com/u/amandam)\
**Post date:** [February 3, 2022, 3:12pm UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/9 "2022-02-03T15:12:14Z")

</div>

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](https://support.wix.com/en/article/contacting-wix-customer-care-for-support) .

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

---

<div class="post-metadata">

**Author:** ![sylvia-emil](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/sylvia-emil/32/33783_2.png) [@sylvia-emil](https://forum.wixstudio.com/u/sylvia-emil)\
**Post date:** [June 19, 2022, 12:09pm UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/10 "2022-06-19T12:09:33Z")

</div>

any updates how to solve this ?

---

<div class="post-metadata">

**Author:** ![amandam](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/amandam/32/79539_2.png) [@amandam](https://forum.wixstudio.com/u/amandam)\
**Post date:** [June 20, 2022, 10:33am UTC](https://forum.wixstudio.com/t/has-anyone-got-chart-js-working-recently/30250/11 "2022-06-20T10:33:54Z")

</div>

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.
