Scientific/Css/ichartjs/src/ichart.sector.js
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* @overview this component use for config sector,this is a abstract class.
* @component#iChart.Sector
* @extend#iChart.Component
*/
iChart.Sector = iChart.extend(iChart.Component, {
configure : function() {
/**
* invoked the super class's configuration
*/
iChart.Sector.superclass.configure.apply(this, arguments);
/**
* indicate the component's type
*/
this.type = 'sector';
this.set({
/**
* @cfg {String} Specifies the value of this element,Normally,this will given by chart.(default to '')
*/
value : '',
/**
* @cfg {String} Specifies the name of this element,Normally,this will given by chart.(default to '')
*/
name : '',
/**
* @cfg {Boolean} True will not darw.(default to false)
*/
ignored : false,
/**
* @inner {Boolean} True to make sector counterclockwise.(default to false)
*/
counterclockwise : false,
/**
* @cfg {Number} Specifies the start angle of this sector.Normally,this will given by chart.(default to 0)
*/
startAngle : 0,
/**
* @cfg {Number} middleAngle = (endAngle - startAngle)/2.Normally,this will given by chart.(default to 0)
*/
middleAngle : 0,
/**
* @cfg {Number} Specifies the end angle of this sector.Normally,this will given by chart.(default to 0)
*/
endAngle : 0,
/**
* @cfg {Number} Specifies total angle of this sector,totalAngle = (endAngle - startAngle).Normally,this will given by chart.(default to 0)
*/
totalAngle : 0,
/**
* @inner {String} the event's name trigger pie bound(default to 'click').
*/
bound_event : 'click',
/**
* @cfg {Boolean} True to bound this sector.(default to false)
*/
expand : false,
/**
* @cfg {Number} Specifies the width when show a donut.only applies when it not 0.(default to 0)
后面还有 198 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。