You must be logged in to post your query.
Home › Forums › Chart Support › Running in node.js
We are looking to use this library to make charts on our site and also output them for static deliverables to customers with a consistent look and feel. To that end, I am attempting to run CanvasJS on the server using node.js. So far, I’m not having a great deal of luck. Has this been attempted by others, and if so do they have some setup code they could share?
Any updates on this?
Please take a look at this sample project on integrating CanvasJS with NodeJS on one-drive.
Also take a look at this tutorial on NodeJS File System Module, which might be of help.
Priyanka M S
Hi The Sample implementation of CanvasJS on Node.js is no longer available @Priyanka M S or anyone please share.
The link shared seems to be working fine. Here is the download link for your reference: https://1drv.ms/u/s!Am6ZJqYg9ZmfgglW57iRB6azpcX_
this is not a correct solution
what this example does is to serve an html file from node, then run canvasjs in the browser
what the user was actually requesting was to run canvasjs in node, so that they could produce images as static assets, and not have js run in the browser at all
You must be logged in to reply to this topic. Login/Register