score:2
Accepted answer
this is bug in highcharts, after writing to the stream, stream should be closed, so this should look this way:
if (!runsasserver) {
// write the file
svgfile = fs.open(output, "w");
svgfile.write(svg);
svgfile.close(); //add this line
exit(output);
} else {
// return the svg as a string
exit(svg);
}
reported: https://github.com/highslide-software/highcharts.com/issues/1869
Source: stackoverflow.com
Related Query
- Highcharts SVG Export from Python Server Side Code
- Highcharts export chart exportSettings with svg file
- Add Source to Highcharts Export CSV
- Highcharts Export Renderer Image - Only SVG visible
- Highcharts export to svg
- Highcharts Node.js Export Server - gettting output in SVG string
- Highcharts don't export custom SVG elements added after created
- Is it possible to export HTML along with SVG markup to the Highcharts Export Server (http://export.highcharts.com/)
- Calling Highcharts export to jpeg but the source is https and exporting is http (security warnings issued by browser)
- Export Highcharts code from jsfiddle
- JavaScript - Export Div with SVG chart + HTML as and Image
- Export Highcharts to PDF (using javascript and local server - no internet connection)
- Highcharts - export to base64
- How to export the whole page or html content with Highcharts not just the chart?
- Disable PDF and SVG download options in Highcharts
- I can't make Highcharts phantomJs export server work
- Highcharts add legend on export
- Converting svg from Highcharts data into data points
- Highcharts - how to remove "Open in Highcharts Cloud" from the export menu
- Highcharts - add additional export options without losing default ones
- ASP.NET WebRequest to Highcharts export server
- how to get svg of highcharts using div id?
- Highcharts phantomjs export server can't parse json string
- Highcharts SVG accessibility
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Generation of svg on server side using highcharts
- Highcharts - Global configuration with common code and unique data & Headings
- Imported font and Highcharts JS export
- How to export CSV and XLS with external button in Highcharts
- HighCharts chart export (screenshot download) does not display Navigator graph
More Query from same tag
- JQuery-UI Slider Auto Increments But Does Not Fire Slide Event
- Issues plotting two lines with JSON data on high chart using Angular JS - name undefined
- Error while creating the chart using highchart
- Highcharts/Highmaps Uncaught TypeError: Cannot read property '0' of undefined error
- Highchart auto pageup the browser when data is updated
- Highcharts style behavior difference between 2 highcharts sources
- Can I add custom data for highcharts RSI indicator?
- Unable to apply custom pipe to high chart tooltip values
- I'd like to use several Highcharts using different data but same options
- How to change value with count data
- Highcharts Datetime axis issue
- How to get series marker symbol when displaying shared tooltips?
- how to import JSON data into VS2012 to plot highcharts
- Highcharts - what is it about my data that causes "setExtremes" to not work correctly?
- Highcharts timeline series positioning
- *Highcharts* Zoom Option and Update values in Highcharts
- Custom field name in ECharts
- Access props and state of current component in React JS within an event handler
- controlling the resolution (dpi) of an exported JPG from highcharts exporting-server
- Dynamically add plotband in highchart
- Equalizer like histogram in highcharts
- Highcharts contextButton color
- highstock 1.3 disable navigator dragging redraw
- Prevent Nil Values in Transformed Array
- How do you get a colorByPoint appearance in Highcharts without coloring all the bars in a group the same color?
- highcharts line graph with ajax
- Real time chars using highcharts, JSON, REST and Spring MVC
- Dynamically populate highcharts data
- highcharts download/export image with rounded borders
- How do you add text to the bottom center of legend and bottom center of chart under legend?