1.0.4 • Published 1 year ago

highcharts-jsdom v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

A utility to convert Highcharts configs to SVGs without a browser.

It is generally slower than the export server and the text bounding boxes are not exact, which affects the whole chart layout.

Usage

npm install

const hc = require('./highcharts-jsdom');

hc({
	infile: 'examples/bubble/options.json',
	outfile: 'chart.svg',

	// Constructor, defaults to 'chart'
	constr: 'chart',

	// Module files etc
	extensions: [
		'highcharts-more'
	]
}).then((result) => {
	console.log(result);
});

Run example

node examples/bubble/app
1.0.4

1 year ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago