在饼图的图象与highcharts [英] Image on pie graph with highcharts

查看:184
本文介绍了在饼图的图象与highcharts的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个高度可定制的图形库。我发现了Highcharts并且喜欢它。我试图创建一个饼图上有图像。类似这张图片的图片

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

但我不是肯定如何做它与highcharts。任何人都可以帮助我。这是可能与highcharts?

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?

推荐答案

可以使用Highcharts来添加自定义图像到图表使用默认API的 renderer 。 (API参考: http://api.highcharts.com/highcharts#Renderer.image

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.

简单示例 http://jsfiddle.net/dh6e15op/1/

这篇关于在饼图的图象与highcharts的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆