How to get image watermark in HighCharts charts?

I am using the HighCharts JavaScript library for a web application and want to have an image watermark inside the diagrams (say, a small image in the upper left corner). Not only show this watermark image in the browser, but also when someone will export the chart in JPG or PNG.

I saw this somewhere once in a web application that also uses HighCharts, but cannot remember where it was.

Any suggestions?

+6
source share
3 answers

Take a look at this: http://jsfiddle.net/highcharts/cDcw7/ Tip. I realized that it is important that the export function works correctly, the URL starts with http: // ...

+7
source

I was unable to get the itemStyle property for credits .

Instead of inspiring Place the text in the center of the pie chart - Highcharts , I came up with this little fiddle: http://jsfiddle.net/2P98N/22/

+1
source

I think this can be done with the credits option by setting background: url(...) to itemStyle

0
source

Source: https://habr.com/ru/post/905197/


All Articles