",style:{color:"#555",fontSize:"14px",padding:"8px"}},yAxis:{startOnTick:!0,labels:{format:"{value}",style:{fontFamily:"tahoma,arial,宋体,sans-serif",fontSize:"14px",fontWeight:"normal"}},title:{text:"",style:{fontFamily:"tahoma,arial,宋体,sans-serif",fontSize:"14px",fontWeight:"normal"}},lineWidth:1,gridLineDashStyle:"Solid"},series:{name:""},plotOptions:{spline:{dashStyle:"Solid",lineWidth:2,marker:{enabled:!0,radius:0},states:{hover:{lineWidth:2}}},line:{marker:{radius:4,symbol:"circle",states:{hover:{radius:4}}}},pie:{allowPointSelect:!0,dataLabels:{enabled:!0,color:"#000",distance:-20,style:{fontSize:"10px",lineHeight:"10px"},formatter:function(){return this.percentage>9?this.percentage.toFixed(2)+"%":""}},showInLegend:!0,point:{events:{legendItemClick:function(){return this.select(!this.selected),!1}}}},column:{pointWidth:22,threshold:0,minPointLength:2},series:{animation:!1,events:{legendItemClick:function(){return!1}}}},xAxis:{showFirstLabel:!0,showLastLabel:!1,title:{text:"",enabled:!0},labels:{staggerLines:1,style:{fontFamily:"tahoma,arial,宋体,sans-serif",fontSize:"14px"}},tickLength:0,tickmarkPlacement:"on"}},t={white:{chart:{backgroundColor:"#ffffff",borderColor:"#ffffff"},color:["#c5343e","#005bb0","#ffad42","#91b373","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"],yAxis:{lineColor:"#e7e7e7",labels:{style:{color:"#333"}},gridLineColor:"#e7e7e7",title:{style:{color:"#333"}}},xAxis:{lineColor:"#e7e7e7",labels:{style:{color:"#333"}}},title:{style:{color:"#212121"}},legend:{backgroundColor:"#ffffff",borderColor:"#e7e7e7",itemStyle:{cursor:"pointer",color:"#074463","font-family":"tahoma,arial,宋体,sans-serif"},itemHoverStyle:{color:"#074463"}},plotOptions:{pie:{dataLabels:{color:"#000000"},colors:["#7dcbd4","#d87a80","#8d98b3","#b1cc72","#f0ad66","#af5248","#ff8686","#fdb3a6","#924209"]},column:{color:["#65a5e1","#ef6666","#f0ad66","#8d98b3","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"]}}},black:{chart:{backgroundColor:"transparent",borderColor:"#363636"},color:["#c5343e","#005bb0","#ffad42","#91b373","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"],yAxis:{lineColor:"#363636",labels:{style:{color:"#a1a1a1"}},gridLineColor:"#363636",title:{style:{color:"#a1a1a1"}}},xAxis:{lineColor:"#363636",labels:{style:{color:"#a1a1a1"}}},title:{style:{color:"#a1a1a1"}},legend:{backgroundColor:"transparent",borderColor:"#000",itemStyle:{cursor:"pointer",color:"#a1a1a1","font-family":"宋体"},itemHoverStyle:{color:"#a1a1a1"}},plotOptions:{pie:{dataLabels:{color:"#000000"},colors:["#7dcbd4","#d87a80","#8d98b3","#b1cc72","#f0ad66","#af5248","#ff8686","#fdb3a6","#924209"]},column:{borderColor:"#000",color:["#65a5e1","#ef6666","#f0ad66","#8d98b3","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"]}}},gtja:{chart:{backgroundColor:"#21242C",borderColor:"#363636"},color:["#c5343e","#005bb0","#ffad42","#91b373","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"],yAxis:{lineColor:"#363636",labels:{style:{color:"#a1a1a1"}},gridLineColor:"#363636",title:{style:{color:"#a1a1a1"}}},xAxis:{lineColor:"#363636",labels:{style:{color:"#a1a1a1"}}},title:{style:{color:"#a1a1a1"}},legend:{backgroundColor:"#21242C",borderColor:"#21242C",itemStyle:{cursor:"pointer",color:"#a1a1a1","font-family":"宋体"},itemHoverStyle:{color:"#a1a1a1"}},plotOptions:{pie:{dataLabels:{color:"#21242C"},colors:["#7dcbd4","#d87a80","#8d98b3","#b1cc72","#f0ad66","#af5248","#ff8686","#fdb3a6","#924209"]},column:{borderColor:"#21242C",color:["#65a5e1","#ef6666","#f0ad66","#8d98b3","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"]}}},qsblack:{chart:{backgroundColor:"#21242C",borderColor:"#363636"},color:["#c5343e","#005bb0","#ffad42","#91b373","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"],yAxis:{lineColor:"#363636",labels:{style:{color:"#a1a1a1"}},gridLineColor:"#363636",title:{style:{color:"#a1a1a1"}}},xAxis:{lineColor:"#363636",labels:{style:{color:"#a1a1a1"}}},title:{style:{color:"#a1a1a1"}},legend:{backgroundColor:"#21242C",borderColor:"#21242C",itemStyle:{cursor:"pointer",color:"#a1a1a1","font-family":"宋体"},itemHoverStyle:{color:"#a1a1a1"}},plotOptions:{pie:{dataLabels:{color:"#21242C"},colors:["#7dcbd4","#d87a80","#8d98b3","#b1cc72","#f0ad66","#af5248","#ff8686","#fdb3a6","#924209"]},column:{borderColor:"#21242C",color:["#65a5e1","#ef6666","#f0ad66","#8d98b3","#3f8c93","#f589bc","#ff5e84","#8042ff","#8d4653","#91e8e1"]}}}};$.extend(!0,e,t.white);var o=function(o,r,i,a){void 0===i?"undefined"!=typeof JsUrl&&JsUrl.style?this.style=JsUrl.style:this.style="white":this.style=i;var l=this;r=r||{},this.id=o,this.oChart=$("#"+o),this.serise={},"function"==typeof a&&(this.changeselfn=a),$.each(["yAxis","series"],function(o,i){var a,s;a=i,s=[],$.isArray(r[a])&&($.each(r[a],function(o,r){s.push($.extend(!0,{},e[a]||{},t[l.style][a]||{},r))}),r[a]=s)}),this.dChartCfg=$.extend(!0,{},e,t[this.style],r),void 0===r.serise&&delete this.dChartCfg.serise,this.reDraw=!0};return o.prototype.setxAixs=function(e){e=e||{},void 0===this.dChartCfg.xAixs&&(this.dChartCfg.xAixs={}),$.extend(!0,this.dChartCfg.xAixs,e)},o.prototype.getxAixs=function(){return this.dChartCfg.xAixs||{}},o.prototype.setyAixs=function(e){e=e||{},void 0===this.dChartCfg.yAxis&&(this.dChartCfg.yAxis={}),$.extend(!0,this.dChartCfg.yAxis,e)},o.prototype.getyAixs=function(){return this.dChartCfg.yAxis||{}},o.prototype.setTooltip=function(e){e=e||{},void 0===this.dChartCfg.tooltip&&(this.dChartCfg.tooltip={}),$.extend(!0,this.dChartCfg.tooltip,e)},o.prototype.getTooltip=function(){return this.dChartCfg.tooltip||{}},o.prototype.setOtherCfg=function(e,t){t=t||{},void 0===this.dChartCfg[e]&&(this.dChartCfg[e]={}),$.extend(!0,this.dChartCfg[e],t)},o.prototype.getOtherCfg=function(e){return this.dChartCfg[e]||{}},o.prototype.HighChart=function(){return this.oChart.highcharts(this.dChartCfg)},o.prototype.getChart=function(){return this.oChart.highcharts()},o.prototype.show=function(){"function"==typeof this.changeselfn?this.changeselfn.call(this,this.id,"show"):$("#"+this.id).show()},o.prototype.hide=function(){"function"==typeof this.changeselfn?this.changeselfn(this.id,"hide"):$("#"+this.id).hide()},o.prototype.getColor=function(e,t){if(e=e||"line",t=t||0,$.inArray(e,["line","column"])>-1)return"column"==e?this.getOtherCfg("plotOptions").column.color[t]:this.getOtherCfg("color")[t]},o.prototype.setCategories=function(e){this.oChart.highcharts().xAxis[0].setCategories(e,this.reDraw)},o.prototype.setDraw=function(e){this.reDraw=!!e,this.reDraw&&this.oChart.highcharts().redraw()},o.prototype.addSeries=function(e,t){t=!!t;var o=this.oChart.highcharts();t&&this.removeSerise("",t),o.addSeries(e,this.reDraw)},o.prototype.removeSerise=function(e,t){t=!!t;var o=this,r=this.oChart.highcharts(),i=r.series.length;if(t)for(var a=0;a-1)return"column"==t?e.plotOptions.column.color[o]:"pie"==t?e.plotOptions.pie.colors:e.color[o]},TdxHiChart:function(e,t,r,i){return new o(e,t,r,i)}}}();