Image inside the Highcharts ring

I created a ring of tall cards using a donut render. Jsfiddle here . I have an image in a .png file. How do I insert this image inside this ring?

.png

      

The code that essentially needs to be changed is here:

+3


source to share


1 answer


I edited the existing jsfiddle to add the image as you need it.

URL: http://jsfiddle.net/e2qpa/1349/

Related code with your question:



chart.renderer.image('http://highcharts.com/demo/gfx/sun.png', 220, 200, 60, 60)
   .add();
});

      

HighChart Documentation: http://api.highcharts.com/highcharts#Renderer.image

+4


source







All Articles