AnyChart Node.js Report Server is a lightweight web server that provides API for generating vector graphics (PDF, SVG, or PS), bitmap images (PNG, JPG, or TIFF), PDF reports, and data in CSV and XLSX (Excel).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fonts
playground
test
.gitignore
LICENSE
README.md
cli.js
index.js
package.json
pdf-report-data-format.md

README.md

AnyChart - Robust JavaScript/HTML5 Chart library for any project

NPM Version NPM Downloads Package Quality

AnyChart Node.js Report Server

AnyChart Node.js Report Server is a lightweight web server that provides API for generating vector graphics (PDF, SVG, or PS), bitmap images (PNG, JPG, or TIFF), PDF reports, and data in CSV and XLSX (Excel). It uses the JavaScript code as well as JSON and XML configurations as input data. The server is very easy to install and customize, you can run it on any major platform: Linux, Windows, and macOS. It is ideal for creating report systems that send charts via email or social network sharing tools.

Installation

Prerequisite

  1. Make sure you have nodejs is installed. Navigate to https://nodejs.org/en/download/ to get it.

  2. ImageMagick and librsvg are required.

Install ImageMagick and librsvg on Linux:

apt-get install imagemagick librsvg2-dev

Install ImageMagick and librsvg on Mac OS X

brew install imagemagick librsvg

Install ImageMagick and librsvg on Windows:

AnyChart Report Server

Installl AnyChart Node.js Report Server using npm package manager:

npm install anychart-report-server -g

Or clone git repository:

git clone git@github.com:AnyChart/node-export-server.git
npm install
npm link

Running

To run the server:

> anychart-report-server [arguments]
1:32:48 PM - info:    Export server listening on port 3000!

Options

Name Type Description
port number TCP port
output-dir string Output folder.
disable-scripts-executing boolean Disable or enable scripts.
log-level string Log level: error, warn, info, verbose, debug, silly
log-file string Path to log file, by default log goes only to a console output.
disable-playground boolean Turns on and off playground app that is accessible in /playground )

Tutorials

coming soon

Contributions are welcomed!

  • Running AnyChart Export Server on Digital Ocean
  • Running AnyChart Export Server on AWS S2
  • Running AnyChart Export Server on Microsoft Asure

Server API

Generate PDF report

Generate PDF reports with anychart charts, text, columns, tables, and images.

POST /pdf-report

Input

Name Type Description
file_name string File name. Used when response_type set to file.
data javascript string Input data. Data format description.
response_type string Output data format. Possible values: file, base64 or url. Default: file
resources Array. External resources to be included in the process of image generation, see External Resources.

Example

{
	"response_type": "base64",
	"data": "(function() {return {content: [{\"chart\": {\"data\": \"chart = anychart.line([1,2,3]); chart.container('custom_container_id').draw();\",\"dataType\": \"javascript\",\"containerId\": \"custom_container_id\"},\"fit\": [500, 500]}]}})();"
}

Curl

curl -H "Content-Type: application/json" -X POST -d '{"response_type":"base64","data":"(function() {return {content: [{\"chart\": {\"data\": \"chart = anychart.line([1,2,3]); chart.container('custom_container_id').draw();\",\"dataType\": \"javascript\",\"containerId\": \"custom_container_id\"},\"fit\": [500, 500]}]}})();"}' http://localhost:3000/pdf-report

Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"data":"JVBERi0xLjMKJf////8KNiAwIG9iago8PAovVHlwZSAvUGFnZQovUGFyZW50IDEgMCBSCi9NZWRpYUJveCBbMCAwIDU5NS4yOCA4NDEuODldCi9Db250ZW50cyA0IDAgUgovUmVzb3VyY2VzIDUgMCBSCj4+CmVuZG9iago1IDAgb2JqCjw8Ci9Qcm9jU2V0IFsvUERGIC9UZXh0IC9JbWFnZUIgL0ltYWdlQyAvSW1hZ2VJXQovWE9iamVjdCA8PAovSTEgMyAwIFIKPj4KPj4KZW5kb2JqCjcgMCBvYmoKPDwKL1Byb2R1Y2VyIChwZGZtYWtlKQovQ3JlYXRvciAocGRmbWFrZSkKL0NyZWF0aW9uRGF0ZSAoRDoyMDE3MDczMTA0NDgyOVopCj4+CmVuZG9iagoyIDAgb2JqCjw8Ci9UeXBlIC9DYXRhbG9nCi9QYWdlcyAxIDAgUgo+PgplbmRvYmoKMSAwIG9iago8PAovVHlwZSAvUGFnZXMKL0NvdW50IDEKL0tpZHMgWzYgMCBSXQo+PgplbmRvYmoKNCAwIG9iago8PAovTGVuZ3RoIDU0Ci9GaWx0ZXIgL0ZsYXRlRGVjb2RlCj4+CnN0cmVhbQp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N0YXJ0eHJlZgoxNjIwNgolJUVPRgo="}

Generate vector image - PDF/SVG/PS

Generate vector images. PDF and PS files allow quality scaling and copying texts.

POST /vector-image

Input

Name Type Description
data string required Input data. JavaScript, SVG, JSON or XML.
data_type string required Type of input data: javascript, svg, json, xml
file_name string File name, if response_type set to file
file_type string Output file type. Possible values: PDF, SVG or PS. Defauilt: PDF
response_type string Output data format. Possible values: file, base64 or url. Default: file
resources Array. External resources to be included in process of image generation, see External Resources for details.
width number Output image width
height number Output image height
aspect-ratio boolean Whether to preserve the aspect ratio (default: false)
background string Set the background color (black, white, #abccee, #aaa and etc. default: none)

Example

{
  "background": "#f00",
  "aspect-ratio": true,
  "width": 200,
  "height": 1000,
  "data_type": "javascript",
  "file_type": "pdf",
  "response_type": "base64",
  "data": "var chart = anychart.pie(); chart.data([10, 20, 8, 5, 12, 9]); chart.container('container'); chart.draw();"
}

Curl

curl -H "Content-Type: application/json" -X POST -d '{"response_type":"base64","background": "#f00","aspect-ratio":true,"width":200,"height":1000,"data_type":"javascript","file_type":"pdf","data":"var chart=anychart.pie();chart.data([10, 20, 8, 5, 12, 9]);chart.container('container');chart.draw();"}' http://localhost:3000/vector-image

Response

HTTP/1.1 200 OK
Content-Type:application/json; charset=utf-8
{"data":"JVBERi0xLjUKJbXtrvsKMyAwIG9iago8PCAvTGVuZ3RoIDQgMCBSCiAgIC9GaWx0ZXIgL0ZsYXRlRGVjb2RlCj4+CnN0cmVhbQp4nLVVy2obQRC8z1f0JeAc1O7HvPoayAcEBDmHJHIIdsDO/0NqdldCsnaVkyzwjranu6r6pdekND5vT/T4TejpbxISMhHSIvT2kw5J2MO0NBJuEl0yDlFzkzq8IljMqTUOp5fjV83K4oWeSU0YXqc36sGtj6dwUQOMcg5LpGocvdN3+pXeBR0cBjJ4ADtXa7ng0M2LxQqJJeYpJFhUZxOnKHAHeC0QpdTwtmTcb+yWKRUHNwUFzcFWjTyzS4CssUhHXlgztKiye0WYSdIG4/BmZfDMM09ZY3oZ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MDAwMCBuIAowMDAwMDA3MTI2IDAwMDAwIG4gCjAwMDAwMDcyNTYgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSAxNAogICAvUm9vdCAxMyAwIFIKICAgL0luZm8gMTIgMCBSCj4+CnN0YXJ0eHJlZgo3MzA5CiUlRU9GCg=="}

Generate raster image - PNG/JPG/TIFF

Generate raster images from charts.

POST /raster-image

Input

Name Type Description
data string required Input data. JavaScript, SVG, JSON or XML string.
data_type string required Type of input data. Possible values: javascript, svg, json or xml
file_name string File name. Needed when response_type is set to file
file_type string Output file type. Possible values: PNG, JPG or TIFF. Default: PNG
response_type string Output data format. Possible values: file, base64 or url. Default: file
resources Array. External resources to be included in process of image generation, see External Resources for details.
background ??? Background color
border Array.<number> Surround the image with a border of color [width, height]
blur Array.<number> Accepts a radius and optional sigma (standard deviation). [radius [, sigma]]
contrast number Increases or reduces the image contrast. Accepts a multiplier. [+-]multiplier
crop Array.<number> Crops the image to the given width and height at the given x and y position. [width, height, x, y]
frame Array.<number> Surround the image with an ornamental border. [width, height, outer bevel width, inner bevel width]
gamma number Level of gamma correction. Reasonable values extend from 0.8 to 2.3.
monochrome - Transforms the image to black and white.
negative - Replaces every pixel with its complementary color.
noize string, number Add or reduce noise in the image. Radius or Type. To add noise pass one of the following: uniform, gaussian, multiplicative, impulse, laplacian, poisson. Otherwise the argument will be interpreted as a radius which adjusts the weight of the effect.
quality number Adjusts the jpeg, png, tiff compression level. Value ranges from 0 to 100 (best).

Example

{
  "file_name": "anychart.png",
  "data": "var chart = anychart.pie(); chart.data([10, 20, 8, 5, 12, 9]); chart.container('container'); chart.draw();",
  "data_type": "script",
  "response_type": "file"
}

Curl

curl -H "Content-Type: application/json" -X POST -d '{"file_name": "anychart.png","data": "var chart = anychart.pie(); chart.data([10, 20, 8, 5, 12, 9]); chart.container('container'); chart.draw();","data_type": "javascript","response_type": "file"}' http://localhost:3000/raster-image

Response

HTTP/1.1 200 OK
Content-Disposition:attachment; filename=anychart.png
Content-Type: image/png

Export as data file - CSV/XLSX (Excel)

Export chart data as CSV or XLSX file.

POST /data-file

Input

Name Type Description
file_name string File name. Works when response_type is set to file
file_type string Output file type. Possible values: CSV or XLSX. Default: XLSX
data string Input data. CSV string.
response_type string Output data format. Possible values: file, url. Default: file

Example

{
  "file_name": "anychart.xlsx",
  "data": "x,value\n0,10\n1,20\n2,8\n3,5\n4,12\n5,9",
  "response_type": "file"
}

Curl

curl -H "Content-Type: application/json" -X POST -d '{"file_name": "anychart.xlsx","data": "x,value\n0,10\n1,20\n2,8\n3,5\n4,12\n5,9","response_type": "file"}' http://localhost:3000/data-file -o anychart.xlsx

Response

HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Disposition: attachment; filename=anychart.xlsx

Get server status

coming soon

External resources

coming soon

External resources are required when:

  • You need external data files
  • You need to add geo data
  • You need image for hatch fill or image fill

Security recommendations

coming soon

  • allow access origin
  • https
  • authorization

System recommendations

coming soon

  • supervisor
  • performance
  • logging

CJK and Custom fonts

coming soon

Troubleshooting

coming soon

  • check image magic and librsvg are installed
  • curl /status
  • check fonts are installed

Tests

coming soon

  • how to run
  • how to add new

License

© AnyChart.com - JavaScript charts. AnyChart Export Server released under the Apache 2.0 License.