Sign inSign up

nexushubs/highcharts-export-docker

By nexushubs

•Updated over 6 years ago

highcharts server with chinese font 'Source Han Sans'

Image
0

391

nexushubs/highcharts-export-docker repository overview

repo here: https://github.com/nexushubs/highcharts-export-docker⁠, forked from https://github.com/ONSdigital/highcharts-export-docker⁠

⁠highcharts-export-docker

⁠Build

docker build -t nexushubs/highcharts-export-docker . 

⁠Run

docker run -d --name highcharts -p 8889:8080 nexushubs/highcharts-export-docker
The above command will expose the service on port 8889. This can be changed if required.

## Test

Once the server is running here is an example curl command to render a chart:

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]}]}}' 127.0.0.1:8889 -o testchart.png

Tag summary

Content type

Image

Digest

Size

311.5 MB

Last updated

over 6 years ago

docker pull nexushubs/highcharts-export-docker