highcharts-react icon indicating copy to clipboard operation
highcharts-react copied to clipboard

Unicode characters are not shown in exported png

Open grindsa opened this issue 6 years ago • 2 comments

I am trying to display a headmap with unicode characters in the dataLabel. Even if the characters are shown in browser they are not visible in the exported image.

Without the wrapper the download works fine. Thus I suspect something wrong in either my code or the wrapper as such. Can you please point me into the right direction?

Code without wrapper (download works fine) Code with wrapper (unicode chars are not shown)

Thank you for your help and have a nice day

grindsa avatar Nov 17 '20 14:11 grindsa

Hello @grindsa,

Thank you for contacting us.

There is a small difference between those two demos - the demo without the React wrapper also has included the offline-exporting module which is responsible for exporting the Unicode characters. After including this module into the demo with the wrapper everything works fine. Take a look: https://stackblitz.com/edit/react-aovsbf?file=index.js

Basts avatar Nov 18 '20 10:11 Basts

Hi, thank you for your replay and sorry for my delayed answer. You were totally right. After adding the offline-exporting module everything worked as expected.

grindsa avatar Nov 24 '20 20:11 grindsa