$((function(){"use strict";$(".peity-line").peity("line"),$(".peity-bar").peity("bar"),$(".peity-pie").peity("pie"),$(".peity-donut").peity("donut"),$(".data-attributes span").peity("donut"),$("select").change((function(){var t=$(this).val()+"/5";$(this).siblings("span.graph").text(t).change(),$("#notice").text("Chart updated: "+t)})).change(),$("span.graph").peity("pie");var t=$(".updating-chart").peity("line",{width:"100%",height:150});setInterval((function(){var e=Math.round(20*Math.random()),i=t.text().split(",");i.shift(),i.push(e),t.text(i.join(",")).change()}),2500)}));