[英]Easy Pie Chart no effects
I recently used the plugin easy-pie-chart : rendro.github.io/easy-pie-chart/ 我最近使用了插件easy-pie-chart :rendro.github.io/easy-pie-chart/
On the page, I've included the js file 在页面上,我已经包含了js文件
<script src="vendor/easy-pie-chart-master/src/easypiechart.js"></script>
I add this code 我添加此代码
<div class="chart" data-percent="73" data-scale-color="red">73%</div>
and recalled the plugin 并召回了插件
<script type="text/javascript">
$(function() {
$('.chart').easyPieChart({
//your configuration goes here
});
});
</script>
It does not appear, however, no result , belonging to the number written in the normal manner. 但是, 没有出现属于以正常方式写入的数字的结果 。 What is the reason?
是什么原因?
The console gives me error like: 控制台给我的错误如下:
Uncaught TypeError: Object [object Object] has no method 'easyPieChart'
Some of you could help me: I thank you all in advance 有些人可以帮助我: 我提前感谢你们
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.