Car/Css/ichartjs/src/ichart.column2d.js
(完整代码) 785B/**
* @overview the column2d componment
* @component#@chart#iChart.Column2D
* @extend#iChart.Column
*/
iChart.Column2D = iChart.extend(iChart.Column, {
/**
* initialize the context for the Column2D
*/
configure : function() {
/**
* invoked the super class's configuration
*/
iChart.Column2D.superclass.configure.call(this);
this.type = 'column2d';
},
doEngine:function(_,cw,s,S,So,H,w2,q,gw,x,y,y0){
iChart.each(_.data,function(d, i) {
_.rect(_,d, i,x + i * gw,y,H,S,So);
_.doLabel(_,i, d.name, x + gw * i + w2, y0);
}, _);
},
doConfig : function() {
iChart.Column2D.superclass.doConfig.call(this);
/**
* start up engine
*/
this.engine(this);
}
});
iChart.register('Column2D');
/**
*@end
*/
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。