patashala/style/bower_components/peity/jquery.peity.init.js
Vivek a53135a78d Added based code
Added base code to the repo
2024-02-07 20:19:28 +05:30

24 lines
527 B
JavaScript
Executable File

//pie
$("span.pie").peity("pie",{
width: 50,
height: 50
});
//donut
$("span.donut").peity("donut",{
width: 50,
height: 50
});
// line
$('.peity-line').each(function() {
$(this).peity("line", $(this).data());
});
// bar
$('.peity-bar').each(function() {
$(this).peity("bar", $(this).data());
});