Easypiechart.js无法正常工作 [英] Easypiechart.js not working

查看:201
本文介绍了Easypiechart.js无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am trying to use the easypiechart, but i don't know why it is not showing any thing...

i add the easypiechart.js and the below code before the <pre lang="HTML"></body>







<script type="text/javascript">
    $(function() {
        $('.Chart').easyPieChart({
            //your configuration goes here
            size:170,
            animate: 2000,
            lineCap:'butt',
            scaleColor: false,
            barColor: '#ccc',
            lineWidth: 10
        });
    });
</script>




我的html中的
我使用此代码调用饼图..





in my html i call the piechart using this code..

<div class="Chart" data-percent="73"><span class="percent">73%</span></div>





结果看起来像......



73%



没有圈子显示arround 73%。



请用示例代码解决...



the result look like...

73%

there is no circle show arround 73%.

please solve with example code...

推荐答案

function (){


' 。Chart')。easyPieChart({
// 您的配置在这里
尺寸: 170
animate: 2000
lineCap:' butt'
scaleColor: false
barColor:' #ccc'
lineWidth: 10
});
});
< / script>
('.Chart').easyPieChart({ //your configuration goes here size:170, animate: 2000, lineCap:'butt', scaleColor: false, barColor: '#ccc', lineWidth: 10 }); }); </script>




我的html中的
我使用此代码调用饼图..





in my html i call the piechart using this code..

<div class="Chart" data-percent="73"><span class="percent">73%</span></div>





结果看起来像......



73%



没有圆圈显示arround 73%。



请用示例代码解决...



the result look like...

73%

there is no circle show arround 73%.

please solve with example code...


这篇关于Easypiechart.js无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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