Scientific/Css/ichartjs/src/ichart.crosshair.js
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* @overview this element simulate the crosshair on the coordinate.actually this composed of some div of html.
* @component#iChart.CrossHair
* @extend#iChart.Html
*/
iChart.CrossHair = iChart.extend(iChart.Html,{
configure:function(){
/**
* invoked the super class's configuration
*/
iChart.CrossHair.superclass.configure.apply(this,arguments);
/**
* indicate the component's type
*/
this.type = 'crosshair';
this.set({
/**
* @inner {Number} Specifies the position top,normally this will given by chart.(default to 0)
*/
top:0,
/**
* @inner {Number} Specifies the position left,normally this will given by chart.(default to 0)
*/
left:0,
/**
* @inner {Boolean} private use
*/
hcross:true,
/**
* @inner {Boolean} private use
*/
vcross:true,
/**
* @inner {Boolean} private use
*/
point:{
enable:true,
color:null,
size:12
},
/**
* @inner {Function} private use
*/
invokeOffset:null,
/**
* @cfg {Number} Specifies the linewidth of the crosshair.(default to 1)
*/
line_width:1,
/**
* @cfg {Number} Specifies the linewidth of the crosshair.(default to 1)
*/
line_color:'#1A1A1A',
delay:200
});
},
/**
后面还有 83 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。