Home Forums Chart Support canvasjs not working Nextjs Build Reply To: canvasjs not working Nextjs Build

#44446

The local development and Build is working fine, only the deployed version is causing the following issue

_app-e3dd2cd31992d86a.js:15 TypeError: Cannot read properties of undefined (reading 'ctx')
    at ia (94afa71f.f5d98709be0502f7.js:1:69906)
    at p.setLayout (94afa71f.f5d98709be0502f7.js:1:93512)
    at p.render (94afa71f.f5d98709be0502f7.js:1:101153)
    at CanvasJSChart.componentDidMount (3374.1bc5ec65aafb9f88.js:1:644)
    at lk (framework-ca706bf673a13738.js:9:90627)
    at jk (framework-ca706bf673a13738.js:9:111106)
    at framework-ca706bf673a13738.js:9:111117
    at Qk (framework-ca706bf673a13738.js:9:111629)
    at Fk (framework-ca706bf673a13738.js:9:96298)
    at jg (framework-ca706bf673a13738.js:9:44901)
    at framework-ca706bf673a13738.js:9:93663