- Node.js > 4.0
- ICU4C
Google Chart needs full internationalization support whereas it's not built in by default on nodejs. You can either:
- Use full-icu npm package which requires running node with a specific environment variable.
- Or, build Node.js with an embedded icu. more info
node bin/node-googlecharts <ChartWrapperOptions>
ChartWrapperOptions
is the serialized JSON options to give to ChartWrapper
.
lambda-googlechart uses it to generate charts images on AWS Lambda.
Google Charts needs a browser-like environment to run in. Jsdom is a light DOM implementation, much faster than PhantomJS.
This is a requirement of jsdom itself.
The way Google Chart usually loads its dependencies is incompatible with jsdom more info
Google Chart needs full internationalization support whereas it's not built in by default on nodejs.