Chart script is not recognized by electron

Hi,
I’m using IMX6ULL 256 MB V1.1A SoM with LXDE image version 2.8b. I installed electron and was working with my UI . It was working fine till i tried to include charts to my project . Tried using different libraries like canvasjs.min.js , chart.js etc… But the js of any of the library are not getting recognized .
Can anyone help me with this thing?
Is it because of the lower version of browser installed with electron?

Hi @Hasanul_Banna

Thanks for writing to the Toradex Support.

We don’t have much experience with the Electron Framework.

Tried using different libraries like canvasjs.min.js, chart.js etc… But the js of any of the library are not getting recognized .

What exactly do you mean with that?
Which electron framework’s version are you using?
Are the given libraries present or not?

Best regards,
Jaski

Thanks for the reply.
I am using electron v3.1.7 . The libraries i mentioned doesnt come with electron . I downloaded them manually and tried to refer them in the script tag of html page . But those js files are not getting recognized .

How did you add the libraries to the Electron Framework?
Could you share some error.log?

Best regards,
Jaski