Currently, I create chart in client browser, using highcharts; Export them as svg with highcharts inbuilt export option; I use canvg to generate png base64 image string from exported svg; Then, I send generated base64 string to server. They work great. But I am looking for a program, that can run Javascript in linux server itself, so that I can create chart and generate png base64 image string in the server itself and store them for other use.
I read about PhantomJs, ZombieJs. But they both look like a headless browser program (a browser program that doesn't have User Interface) which is used only for testing purpose. I don't know if I have an option in these packages(PhantomJs,ZombieJs) to run my javascript program and return me image string.
Can anyone suggest me an answer that best suits me?
Thanks! Jeffrin