Image on pie graph with highcharts

僤鯓⒐⒋嵵緔 提交于 2019-12-11 11:01:58

问题


I am looking for a graph library that is highly customizable. I found Highcharts and loved it. I am trying to create a pie chart that has images on it. Something like this image

but I am not sure how to do it with highcharts. can anyone help me. Is this possible with highcharts ? if not can you please suggest any other graphs where I can get this output?


回答1:


It is possible using Highcharts to add custom image to chart using default API's renderer. (API reference: http://api.highcharts.com/highcharts#Renderer.image)

In load chart event you could add custom images to chart and to keep chart responsive - in redraw event you could update the images.

Simple example http://jsfiddle.net/dh6e15op/1/



来源:https://stackoverflow.com/questions/31807851/image-on-pie-graph-with-highcharts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!