Script that prepares the PDF file based on the the json input file which would be the first argument in the command line.
To test the script
node pdfexport_standalone multiplecharts
This will generate a pdf in root directory of the application with filename multiplecharts.pdf