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 :
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With