This is working in all browsers I have tested, but doesn't work in Chrome. We are using the normal export buttons options as provided by the amCharts4 docs here -> https://www.amcharts.com/docs/v4/concepts/exporting/
Exporting as CSV, SVG or JSON is just fine, however on pressing any of the export buttons that are to produce an image we get the below..
Uncaught (in promise) TypeError: n is not a function
at t.<anonymous> (Export.js:854)
at o (tslib.es6.js:97)
at Object.next (tslib.es6.js:78)
at r (tslib.es6.js:68)
The file that it is referencing -> Export.js:854 which is where it calls
res = canvg(canvas, data, config);
So it seems like it cannot find the canvg function. However in the console, I can call that function just fine and even get back it's definition.
As said above, it works fine in Firefox, Brave & Edge.
This is working in all browsers I have tested, but doesn't work in Chrome. We are using the normal export buttons options as provided by the amCharts4 docs here -> https://www.amcharts.com/docs/v4/concepts/exporting/
Exporting as CSV, SVG or JSON is just fine, however on pressing any of the export buttons that are to produce an image we get the below..
The file that it is referencing -> Export.js:854 which is where it calls
So it seems like it cannot find the canvg function. However in the console, I can call that function just fine and even get back it's definition.
As said above, it works fine in Firefox, Brave & Edge.
Any support appreciated!