Generation of svg on server side using highcharts


I did require('jsdom') in node js but i constantly get jsdom module not found. More over i want to generate a svg document using highcharts on the server so that i can later on use that image in my pdf( I will convert that svg to image using batik). Is there a link that may help me with this. I have read through the but the prototype didnt make much sense. Is there a module which has been implemented rather than just a prototype.

11/10/2011 9:46:54 AM

Accepted Answer

You need to install all the required modules first. First download the tar file from his github Go to the directory where you saved the file and hit

npm install davidpadbury-node-highcharts-576f763.tar.gz

if you need to install additional modules like jsdom, try

npm install jsdom

His prototype seem to work fine with older version of highchart. but i am having some problem using it with latest highchart.

I hope this helped

12/30/2011 5:10:11 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow