!function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F={};a.each(a(".fusion-chart"),function(G,H){if(d=void 0!==a(this).data("type")?a(this).data("type"):"line",e=void 0!==a(this).data("border_size")?a(this).data("border_size"):1,f=void 0!==a(this).data("border_type")?a(this).data("border_type"):"smooth",g=void 0!==a(this).data("chart_fill")?a(this).data("chart_fill"):"yes",t=void 0!==a(this).data("x_axis_label")?a(this).data("x_axis_label"):"",u=void 0!==a(this).data("y_axis_label")?a(this).data("y_axis_label"):"",h=[],i=void 0!==a(this).data("show_tooltips")?a(this).data("show_tooltips"):"yes",n=[],o="",p=[],q="",r=void 0!==a(this).data("chart_axis_text_color")?a(this).data("chart_axis_text_color"):null,s=void 0!==a(this).data("chart_gridline_color")?a(this).data("chart_gridline_color"):null,A=0,B=0,l=[],m=void 0!==a(this).data("chart_legend_position")?a(this).data("chart_legend_position"):"off",v=void 0!==a(this).data("chart_point_style")?a(this).data("chart_point_style"):"",w=void 0!==a(this).data("chart_point_size")?a(this).data("chart_point_size"):"",x=void 0!==a(this).data("chart_point_border_color")?a(this).data("chart_point_border_color"):"",y=void 0!==a(this).data("chart_point_bg_color")?a(this).data("chart_point_bg_color"):"",D=!1,E=a("body").hasClass("rtl"),F={labels:[],datasets:[]},z={responsive:!0,tooltips:{enabled:!0},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]},legend:{labels:{},display:!0},layout:{padding:{left:5,right:5,top:5,bottom:5}}},c=a(this).find(".fusion-chart-dataset"),0!==(A=a(c).length)){for((5'),b=0;b'),l[b]&&d.push(l[b]),d.push("");return d.push(""),d.join("")},null!==s&&("polarArea"===d||"radar"===d?(void 0===z.scale.gridLines&&(z.scale.gridLines={},z.scale.angleLines={}),z.scale.gridLines.color=s,z.scale.angleLines.color=s):(void 0===z.scales.yAxes[0].gridLines&&(z.scales.yAxes[0].gridLines={}),void 0===z.scales.xAxes[0].gridLines&&(z.scales.xAxes[0].gridLines={}),z.scales.xAxes[0].gridLines.color=s,z.scales.yAxes[0].gridLines.color=s)),null!==r&&("polarArea"===d||"radar"===d?(void 0===z.scale.ticks&&(z.scale.ticks={}),z.scale.ticks.fontColor=r):(void 0===z.scales.yAxes[0].ticks&&(z.scales.yAxes[0].ticks={}),void 0===z.scales.xAxes[0].ticks&&(z.scales.xAxes[0].ticks={}),z.scales.xAxes[0].ticks.fontColor=r,z.scales.yAxes[0].ticks.fontColor=r)),b=new Chart(a(this).find("canvas").get(0),{type:d,data:F,options:z}),"off"!==m&&a(this).find(".fusion-chart-legend-wrap").html(b.generateLegend())}})}(jQuery);