score:2
That can be fixed by raising the "forExport"
flag in options object:
options.chart.forExport = true;
score:0
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).
score:0
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.)
Source: stackoverflow.com
Related Query
- 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 - How to combine JS and SQL for two charts?
- Highcharts add a legend for marker colors
- highcharts exporting - Java approach, app-convert.properties
- How to adjust the spacing of grid lines in highcharts
- Highchart tooltip hover not working properly
- Dynamic data in Highcharts
- Multiple point selection in Highcharts stockChart
- Python: How to transform DF into Json series?
- HighCharts: How to display unique text for yAxis Label in a spline chart
- Annotations work with HighStock but not with Highcharts
- Highcharts - stacked column - order series index dynamically for each category
- Build a dashboard with Highcharts
- Column based Highchart drilldown series assign color code to each column
- Can't access custom point variable inside Highcharts tooltip.headerFormat
- How to populate a Highchart graph with Angular
- HighCharts/HighStocks: Pie graph with Highstock
- Custom colors in Highcharter are not mapping correctly to the legend
- redraw method is not refreshing polar chart
- How do I move the title-label of a polar (spider) graph with HighChart 4?
- can hightcharts make ajax calls to external data files?
- Create a Heatmap with Grouped Categories using Highcharts
- Highcharts - How can I remove starting and ending padding from area chart
- Fix both y-axis to 0 highcharts
- how to manipulate hightcharts data in jquery?
- How to remove Board and HR/CFO from Highchart organization?
- pushing dynamic data to stacked percentage column in highcharts
- How do I increase the number of points in a live updating spline chart?
- DotNet HighCharts Exporting in Web Forms Asp.net
- How to disable Datalabels in Navigator
- Full width arearange