Skip to content

interactive-studios/dockerized-highcharts-export-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized export server for Highcharts

An image to run a Highcharts export server. It uses node-export-server to run the server.

Requirements

  • Docker 19.03.8+

Setup

To run the server simply run

docker run --rm \
    -v highcharts-cache:/cache \
    --cap-add=SYS_ADMIN \
    -p 7801:7801 \
    ghcr.io/interactive-studios/dockerized-highcharts-export-server

And you can connect to localhost:7801 to generate any charts.

Verify

You can verify if the server works correctly by executing:

curl \
	-H "Content-Type: application/json" \
	-X POST \
	-d '{"infile":{"title": {"text": "Steep Chart"}, "xAxis": {"categories": ["Jan", "Feb", "Mar"]}, "series": [{"data": [29.9, 71.5, 106.4]}]}}' \
	localhost:7801 \
	-o mychart.png

This creates an mychart.png image. If you open the image, it should show a graph.

License

When running this image, you're automatically accepting the license terms of Highcharts.js.

About

An image to run a Highcharts export server.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •