Skip to content

zallek/node-googlecharts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Chart for Node using jsdom

Build Status

Requirements

  • Node.js > 4.0
  • ICU4C

ICU4C dependency

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

Run binary

node bin/node-googlecharts <ChartWrapperOptions>

ChartWrapperOptions is the serialized JSON options to give to ChartWrapper.

FAQ

Who uses it?

lambda-googlechart uses it to generate charts images on AWS Lambda.

Why jsdom?

Google Charts needs a browser-like environment to run in. Jsdom is a light DOM implementation, much faster than PhantomJS.

Why Node.js > 4.0?

This is a requirement of jsdom itself.

Why is Google Chart library loaded from local files?

The way Google Chart usually loads its dependencies is incompatible with jsdom more info

Why does it need ICU4C?

Google Chart needs full internationalization support whereas it's not built in by default on nodejs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published