!function(n){"use strict";var t=function(){};t.prototype.createPie=function(t,e){return n(t).peity("pie",{fill:e}),t},t.prototype.createLine=function(t,e,i,r){return n(t).peity("line",{fill:e,stroke:i,width:r}),n(t)},t.prototype.createBar=function(t,e,i){return n(t).peity("bar",{fill:e,width:i}),t},t.prototype.createDonut=function(t,e){return n(t).peity("donut",{fill:e}),t},t.prototype.init=function(){this.createPie("span.pie",["#317eeb","#d7d7d7","#ffffff"]),this.createLine(".line","#317eeb","#169c81"),this.createBar(".bar",["#317eeb","#d7d7d7"]),this.createBar(".bar_dashboard",["#317eeb","#d7d7d7"],100),this.createDonut(".donut",["#317eeb","#d7d7d7"]),this.createDonut(".data-attributes span")},t.prototype.init=function(){var i=this.createLine(".updating-chart","#3bc0c3","#3bc0c3",120,40);setInterval(function(){var t=Math.round(10*Math.random()),e=i.text().split(",");e.shift(),e.push(t),i.text(e.join(",")).change()},1e3)},n.PeityChart=new t,n.PeityChart.Constructor=t}(window.jQuery),function(t){"use strict";window.jQuery.PeityChart.init()}();