That can be fixed by raising the
"forExport" flag in options object:
options.chart.forExport = true;
I tried to recreate your example and I get jQuery and Highcharts loaded with jsdom. It looks like Highcharts tries to call
createElement with an html fragment:
createElement('<div filled="f" stroked="f" style="position: absolute;left:0;top:0;width:10px;height:10px;"/>')
This looks fishy. I'm not sure how it works in the browser - I can't call
createElement with that in my browser either (Chromium).
I replaced node.js with phantomJs which did a good job, as described in Generating HTML Canvas image data server-side? (example is from jQplot, but works for highchart as well.)
- Server-Side HighStock charts generation with NodeJS
- Exporting Charts on server side with Highcharts and PhantomJS to make a custom PDF
- 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
- Synchronized charts example with Highstock crashes with "Cannot read property 'category' of undefined"
- Strange character in the Highstock source code
- Highcharts Server side generation not working on windows 2008 server
- HTML table as data source for highstock charts using highcharts
- Highstock charts with Google Spreadsheet JSON
- Highcharts SVG Export from Python Server Side Code
- Highcharts server side export Pie With Data Labels (phantomjs)
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- Run Highcharts on Server side code to add to Word document
- Highcharts Dynamic Updated Highstock Charts doesn't display along with Bar Chart
- Server side chart .svg export with Highcharts and PhantomJS, error loading data from .csv file
- How to save an image of the chart on the server with highcharts?
- Connecting NULL points in Highstock charts
- How to create a new Highstock chart with new Highchart and not jquery?
- Highstock with numbers instead of date in x-axis
- HighStock Charts not Working over SSL ie https
- Highstock vs Google Charts in Performance
- Adding a series dynamically with HighCharts Stock Charts
- Show gap of missing data with Highstock
- PhantomJS with embedded web server uses only one CPU
- knockoutJS dynamic chart with high charts
- Multiple series in HighStock charts
- Highstock setExtremes with a custom range selector button
- Highcharts: update series on multiple charts with same data
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts export charts as image on serverside with php
More Query from same tag
- Highcharts - Adding a suffix to a tooltip in a multi-series chart
- In Highcharts, how to avoid 'max' value being calculated wrong?
- How to add Series data in Highcharts from MVC
- Using ModalEditor from highcharts-editor in Angular5
- highcharts x-axis date issue
- Custom Cursor in Highmaps when no data is available for hovered country
- Angular highcharts problem showing week number
- I build synchronized charts (highcharts) that I want to export in one PDF
- Highcharts polar spider with Min and Max for each y-axis
- Need to have Highcharts datalabels set differently to y axis
- Heatmap Highchart using string value
- Highcharts - column chart redraw animation
- How to use date range for highcharter columnrange plot?
- Highcharts how to use column title as X axis and not as Legend
- Attach object to Highcharts click event
- How to make highcharts tooltip show outside of the pie graph?
- How to send data from controller which is acceptable format to Highstock?
- How to plot the X axis data point for uneven tick interval at in Highcharts
- How to render a specific data point marker on HightCharts Bell Curve?
- Retain Marker color on Line History Series in Highchart
- Rails HightCharts adding link_to
- HighCharts - Horizontal line with the zoomed average of the values
- Two legend styles for two stacked chart styles in highchart
- Data manipulation for heatmap
- Highcharts: How to hide the text from legends
- Using highchart SVG images with Selenium
- Highcharts - How to specify dimensions of rectangles
- High chart spline chart is not plotting with single data
- highcharts xaxis navigator not showing