饼图具有不同的填充百分比 [英] Pie chart with different fill percentage

查看:87
本文介绍了饼图具有不同的填充百分比的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问一些有关jquery饼图或饼图的问题.我想在每个切片的填充百分比都不是100%的情况下制作饼图/车轮:

I want to ask something about jquery pie plots or pie charts. I want to make piechart/wheel where the fill percentage on each slice is not 100% like this one:

http://i1191.photobucket.com/albums/z462/rikides/a.png

我已经使用GD饼图制作了基本饼图,但是我对如何做或从何处开始配置一无所知.有谁可以帮助我吗?我在这个问题上停留了1周,我已经尝试使用Google搜索,但是找不到任何类似的教程.

I already made the basic pie chart using GD pie chart but I dont really have any idea on how to do it or where to start configuring. Can someone help me please? Im stuck on this problem for 1 week now and I have tried googling about this but I can not find any similar tutorials.

编辑:我也尝试过使用JP Graph,但是到目前为止,我所做的只是基本的饼图,如果可以使用JP Graph,请告诉我.谢谢.

EDIT: I also tried using JP Graph but what I have made so far is only the basic pie chart, please let me know if its possible using JP Graph. Thank you.

推荐答案

不幸的是, Highcharts Google图表工具 RGraph 不支持每个切片的直径.让我知道是否有人知道具有这种功能的API.

Unfortunately, Highcharts, Google Chart Tools, wijmo and RGraph do not support individual diameters for each slice. Let me know if somebody knows about an API with that capability.

但是,如果您已经熟悉GD并创建了一个基本的饼图,则可能只需要为方法$ width 参数. /php.net/manual/de/function.imagefilledarc.php"rel =" nofollow> imagefilledarc .

But if you are already familiar with GD and have created a basic pie, you probably just have to change the $width parameter for each slice in method imagefilledarc.

这篇关于饼图具有不同的填充百分比的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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