Home  >  Article  >  php教程  >  圆形百分比统计图(jQuery+circliful)

圆形百分比统计图(jQuery+circliful)

WBOY
WBOYOriginal
2016-06-07 11:38:531555browse

今天我给大家介绍一款圆形统计图circliful,它基于HTML5的Canvas,轻松实现漂亮的圆形统计图,熟悉非常丰富,可以很方便的应用到你的项目中。
圆形百分比统计图(jQuery+circliful)

页面底部有演示、免费下载链接。若是想看更多js特效网站源码js教程请访问【素材火】 http://www.sucaihuo.com/js 还有演示DEMO,最主要是可以免费下载。1、<br> 首先引入jQuery库和圆形统计图circliful插件:<br> <script></script>  <br> <script></script><br> HTML<br> 2、<br> 接着我们放4个div,附带相关属性,文章最下面的相关参数有属性参数介绍。<br> <div></div> data-width="30" data-fontsize="38" data-percent="35" data-fgcolor="#61a9dc" <br> data-bgcolor="#eee" data-fill="#ddd"> <br>  <br> <div></div> data-width="30" data-fontsize="38" data-percent="35" data-fgcolor="#7ea568" <br> data-bgcolor="#eee" data-type="half" data-fill="#ddd"> <br>  <br> <div></div> data-width="30" data-fontsize="38" data-percent="35" data-fgcolor="#7ea568" <br> data-bgcolor="#eee" data-type="half" data-icon="fa-task"> <br>  <br> <div></div> data-width="30" data-fontsize="38" data-percent="35" data-fgcolor="#61a9dc" <br> data-bgcolor="#eee"> <br> <br> 3、<br> 最后我们调用circleful插件:<br> $(function() { <br>     $('#myStat').circliful(); <br>     $('#myStat2').circliful(); <br>     $('#myStat3').circliful(); <br>     $('#myStat4').circliful(); <br> });查看该特效演示及免费下载,请访问【素材火】:http://www.sucaihuo.com/js/65.html

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn