sgloss
Posts: 4
Joined: Thu Jun 30, 2022 2:24 pm

Adding An Image

Hi, I was hoping there was a way to import an image into a highcharts image without executing external code. I'm sure there is already a forum to do this but whenever I search "image" the forum ignores it because the term is too common. So I was just hoping someone could point me in the right direction. Thanks so much.
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Adding An Image

Hello,

I don't know if I understand correctly, do you want the chart to contain a picture only after exporting?
If so, using exporting.chartOptions you can set the chart config only for the exported version.

API: https://api.highcharts.com/highcharts/e ... artOptions
Demo: https://jsfiddle.net/gh/get/library/pur ... ta-labels/

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”