Closed
Description
Hi guys. I'm working on this project in which i need to pass a data brought from Mysql database via Node js server to HTML page that has embedded Javascript code to use this data to draw a chart by using Chart.js library.
This is the node.js code:
Image with credentials removed. // @ChALkeR
and here the HTML page(index.ejs) where i want to use the "title" array values inside the script to fill the "data" array for the chart
So, if i tried to use the "title" directly , nothing would show up in the page(blank page).
Any solution?