Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image inside Highcharts ring [closed]

I have created a highcharts ring using donut visualization. The jsfiddle is here. I have an image in .png file. How do i embed that image inside this ring ?

.png

The code that would essentially need to be changed is here :

like image 328
AdityaKapreShrewsburyBoston Avatar asked Jun 11 '26 04:06

AdityaKapreShrewsburyBoston


1 Answers

I edited an existing jsfiddle to add an image, as you need.

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

The related code with your question:

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

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

like image 113
tomloprod Avatar answered Jun 13 '26 18:06

tomloprod



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!