Scientific/Css/ichartjs/minify/ichart.rectangle.minify.js
(完整代码) 1KBiChart.Rectangle=iChart.extend(iChart.Component,{configure:function(){iChart.Rectangle.superclass.configure.apply(this,arguments);this.type="rectangle";this.set({width:0,height:0,value_space:4,value:"",label:{},name:"",tipAlign:"top",valueAlign:"top",shadow_blur:3,shadow_offsety:-1});this.atomic=!0;this.registerEvent("parseText");this.label=null},last:function(a){a.label&&a.label.draw()},doDraw:function(a){a.drawRectangle()},doConfig:function(){iChart.Rectangle.superclass.doConfig.call(this);var a=this._(),b=a.variable.event,c=a.get("valueAlign");iChart.taylor.light(a,b);a.width=a.get(a.W);a.height=a.get(a.H);var b=a.push("centerx",a.x+a.width/2),e=a.push("centery",a.y+a.height/2),f=a.C,g="middle",d=a.get("value_space");c==a.L?(f=a.R,b=a.x-d):c==a.R?(f=a.L,b=a.x+a.width+d):c==a.B?(e=a.y+a.height+d,g=a.O):c==a.O&&(e=a.y-d,g=a.B);a.get("label")&&(a.push("label.originx",b),a.push("label.originy",e),a.push("label.text",a.push("value",a.fireString(a,"parseText",[a,a.get("value")],a.get("value")))),iChart.applyIf(a.get("label"),{textAlign:f,textBaseline:g,color:a.get("color")}),a.label=new iChart.Text(a.get("label"),a));a.get("tip.enable")&&("follow"!=a.get("tip.showType")&&a.push("tip.invokeOffsetDynamic",!1),a.tip=new iChart.Tip(a.get("tip"),a))}});
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。