RGraph=window.RGraph||{isrgraph:!0,isRGraph:!0,rgraph:!0},RGraph.Effects=RGraph.Effects||{},RGraph.Effects.Common={},function(c){navigator.userAgent;RGraph.Effects.decorate=function(e){for(i in RGraph.Effects.Common)"function"==typeof RGraph.Effects.Common[i]&&(e[i]=RGraph.Effects.Common[i])},RGraph.Effects.wrap=function(e){var a;return e.rgraph_wrapper||(a=jQuery("
").css({width:e.width+"px",height:e.height+"px",cssFloat:e.style.cssFloat,left:e.style.left,top:e.style.top,display:"inline-block"}).get(0),e.parentNode.insertBefore(a,e),e.parentNode.removeChild(e),a.appendChild(e),e.style.position="relative",e.style.left=a.offsetWidth/2+"px",e.style.top=a.offsetHeight/2+"px",e.style.cssFloat="",e.rgraph_wrapper=a),a=e.rgraph_wrapper},RGraph.Effects.Common.fadeIn=function(){var a=this,t=(arguments[0]||{}).frames||30,r=t/60*1e3,i=arguments[1]||function(){};a.canvas.style.opacity=0,RGraph.redrawCanvas(a.canvas);for(var e=1;e<=t;++e)!function(e){setTimeout(function(){a.canvas.style.opacity=e/t,t<=e&&i(a)},e/t*r)}(e);return a},RGraph.Effects.Common.fadeOut=function(){for(var a=this,t=(arguments[0]||{}).frames||30,r=t/60*1e3,i=arguments[1]||function(){},e=1;e<=t;++e)!function(e){setTimeout(function(){a.canvas.style.opacity=1-e/t,t<=e&&i(a)},e/t*r)}(e);return this},RGraph.Effects.Common.fadeSlideIn=function(){var a=this,e=arguments[0]||{},t=e.frames||30,r=-20,i=(120-r)/t,t=RGraph.getCanvasXY(a.canvas),n=e.color||"white",s=arguments[1]||function(){};RGraph.redrawCanvas(a.canvas),jQuery('').css({background:"linear-gradient(135deg, rgba(255,255,255,0) "+r+"%, "+n+" "+(r+20)+"%)",width:a.canvas.width+"px",height:a.canvas.height+"px",top:t[1]+"px",left:t[0]+"px",position:"absolute"}).appendTo(jQuery(a.canvas.parentNode)),function e(){r<120?(jQuery("div#rgraph_fadeslide_cover_"+a.id).css({background:"linear-gradient(135deg, rgba(255,255,255,0) "+r+"%, "+n+" "+(r+20)+"%)"}),r+=i,RGraph.Effects.updateCanvas(e)):(jQuery("div#rgraph_fadeslide_cover_"+a.id).remove(),s(a))}()},RGraph.Effects.Common.fadeSlideOut=function(){var a=this,e=arguments[0]||{},t=e.frames||30,r=-20,i=(120-r)/t,t=RGraph.getCanvasXY(a.canvas),n=e.color||"white",s=arguments[1]||function(){};RGraph.redrawCanvas(a.canvas),jQuery('').css({background:"linear-gradient(135deg, "+n+" "+r+"%, rgba(255,255,255,0) "+(r+20)+"%)",width:a.canvas.width+"px",height:a.canvas.height+"px",top:t[1]+"px",left:t[0]+"px",position:"absolute"}).appendTo(jQuery(a.canvas.parentNode)),function e(){r<120?(jQuery("div#rgraph_fadeslide_cover_"+a.id).css({background:"linear-gradient(135deg, "+n+" "+r+"%, rgba(255,255,255,0) "+(r+20)+"%)"}),r+=i,RGraph.Effects.updateCanvas(e)):(RGraph.clear(a.canvas,a.get("clearto")),jQuery("div#rgraph_fadeslide_cover_"+a.id).remove(),s(a))}()},RGraph.Effects.Common.fadeCircularInOutwards=function(){var a=this,e=arguments[0]||{},t=e.frames||120,r=0,i=RGraph.getCanvasXY(a.canvas),n=e.color||"white",s=arguments[1]||function(){};RGraph.redrawCanvas(a.canvas),jQuery('').css({background:"radial-gradient(rgba(255,255,255,0) 0%, white 0%)",width:a.canvas.width+"px",height:a.canvas.height+"px",top:i[1],left:i[0],position:"absolute"}).appendTo(jQuery(a.canvas.parentNode)),function e(){r