{{#> layouts/main title="Peity" pagename="statistics_peity" category_1="Statistics" heading=" Peity ADDON" pagedescription="Simple and lightweight miniature chart." }} {{#*inline "head-block"}}{{/inline}} {{!-- Right content on content header --}} {{#*inline "subheader-block"}}
Peity (sounds like deity) is a jQuery plugin that converts an element's content into a svg mini pie donut line or bar chart and is compatible with any browser that supports svg. Peity chart is only 4kb, which makes it great to create fast lightweight charts with minimum effort.
Find tutorials, guidelines and more on Peity's official documentation
strokeWidth inside data-peity attribute
data-peity='{ "fill": "#1dc9b7" }'
data-peity='{ "fill": ["#7a59ad","#886ab5","#967bbd","#a38cc6"] }'
data-peity='{ "fill": ["#7a59ad","#886ab5","#967bbd","#a38cc6"] }'
data-peity='{ "fill": ["#7a59ad","#886ab5","#967bbd","#a38cc6"] }'
$(".bar-colours-2").peity("bar", { fill: [value], height: value, ect... }
innerRadius and radius for pie and donut charts, and width and height for other charts