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