Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/292.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何创建具有2个数据值/数字列的饼图或圆环图_Javascript_Php_Html_Pie Chart_Donut Chart - Fatal编程技术网

Javascript 如何创建具有2个数据值/数字列的饼图或圆环图

Javascript 如何创建具有2个数据值/数字列的饼图或圆环图,javascript,php,html,pie-chart,donut-chart,Javascript,Php,Html,Pie Chart,Donut Chart,我想创建饼图或甜甜圈图,标签是存储类型,存储已用和存储免费。storage\u type的标签是字符串,storage\u used是数字,storage\u free是数字。在饼图中仅输出storage\u free,而不是在storage\u used和storage\u free之间组合。我希望将饼图结合在使用的存储和免费的存储之间

我想创建饼图或甜甜圈图,标签是
存储类型
存储已用
存储免费
storage\u type
的标签是字符串,
storage\u used
是数字,
storage\u free
是数字。在饼图中仅输出
storage\u free
,而不是在
storage\u used
storage\u free
之间组合。我希望将饼图结合在使用的
存储
和免费的
存储
之间