Hello Kamile,
After investgation, I found that the problem disappear if I remove the chart.styledMode option in the chart options.
What is strange is that this option does not seem to change anything in the chart in the browser (every css styled colors, line width and so on keep the same) but the exported images do not match (see browser.png and exported.png attached images).
Here is the complete stack trace when the error occurs in highcharts.js file:
Code: Select all
ERROR TypeError: CSS2Properties doesn't have an indexed property setter for '349'
c highcharts.js:14
g highcharts.js:14
a exporting.js:40
ba exporting.js:41
W exporting.js:34
Y exporting.js:38
Z exporting.js:38
u offline-exporting.js:19
f offline-exporting.js:17
onclick offline-exporting.js:13
onclick exporting.js:32
Angular 17
c highcharts.js:14
createElement highcharts.js:21
T exporting.js:31
T exporting.js:31
J exporting.js:26
button highcharts.js:137
Angular 15
addEvent highcharts.js:20
on highcharts.js:89
button highcharts.js:137
n exporting.js:26
ia exporting.js:43
y highcharts.js:16
ia exporting.js:43
H exporting.js:29
onload highcharts.js:400
onload highcharts.js:400
firstRender highcharts.js:400
init highcharts.js:369
z highcharts.js:18
init highcharts.js:367
getArgs highcharts.js:367
a highcharts.js:367
chart highcharts.js:367
Angular 5
core.mjs:6494:12
I will try again to reproduce this error StackBlitz, but maybe this information can already be useful.
Thanks by advance.