jQuery circular statistics plugin circliful

Add-ons
2026-07-26 01:18 5 次浏览 • 0 次下载 1.9KB
jQuery circular statistics plugin circliful

Display information as circular statistics without requiring additional image files.

Display relevant information as circular statistics without using images.

Based on HTML5 Canvas and jQuery

Many options can be configured as data attributes

Font Awesome integration

How to Use circliful

Include circliful and jQuery on your website

1
2
3
<link href="css/jquery.circlify.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.circliful.min.js"></script>

If you want to use Font Awesome icons, you also need to include the CSS file on your website.

Add an element to your website with a unique ID and the required data attributes, for example:

1
<div id="myStat" data-dimension="250" data-text="35%" data-info="New Clients" data-width="30" data-fontsize="38" data-percent="35" data-fgcolor="#61a9dc" data-bgcolor="#eee" data-fill="#ddd" data-total="200" data-part="35" data-icon="long-arrow-up" data-icon-size="28" data-icon-color="#fff"></div>

Add this code at the end of your website

1
2
3
4
5
<script>
$( document ).ready(function() {
$('#myStat').circliful();
});
</script>

Data Options (Properties)

Please refer to the official documentation

============The following content is provided by Travel Map Provided=================

Parameter Details:

ParametersDescriptionDefault Value
data-dimensionWidth and height of the circular chart in px250
data-textText displayed inside the circleempty
data-infoDescription displayed below data-textempty
data-widthCircle thickness in px15
data-fontsizeText size inside the circle in px15
data-percentCircle statistics percentage, 1-10050
data-fgcolorCircle foreground color#556b2f
data-bgcolorCircle background color#eeeeee
data-fillCircular fill background colorempty
data-typeCircular statistics type, can be either "half" or "full"full
data-totalTotal data amount, used together with data-partempty
data-partData amount, used together with data-totalempty
data-borderCircular style, can include borders, such as inline or outlineempty
data-iconFont Awesome icon style, see:Fontawesome Website – Iconsempty
data-icon-sizeIcon sizeempty
data-icon-colorIcon color
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare