Skip to content

Janpot/render-chart.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

render-chart.js

Rendering service for static chart.js charts

How to use:

Start the service

$ docker run -p 3000:3000 janpot/chartjs:1.0.0

Post chart configuration to get the rendered chart as a png

curl -X POST \
  -d '{"type":"bar","data":{"labels":["1","2","3"],"datasets":[{"label":"label","data":[1,20,11]}]}}' \
  "http://localhost:3000?width=500&height=250" > ./output.png

About

Chart.js rendering service

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages