ECharts
View on GitHub
Home
Example
API & Doc
Download
ZIP (Latest)
Link
Ecom-FE
Data Visualization
ZRender
option
option = { title : { text: 'webkit内核依赖', subtext: '数据来自网络', x:'right', y:'bottom' }, tooltip : { trigger: 'item', formatter : "{b}" }, legend : { data : ['HTMLElement', 'WebGL', 'SVG', 'CSS', 'Other'], orient : 'vertical', x : 'left' }, series : (function(){ // If data have been loaded if (webkitDepData) { //webkitDepData has been required and defined in webkit-dep.js webkitDepData.minRadius = 5; webkitDepData.maxRadius = 8; webkitDepData.density = 1.1; webkitDepData.attractiveness = 1.1; webkitDepData.itemStyle = { normal : { linkStyle : { opacity : 0.5 } } } return [webkitDepData]; } else { return []; } })() };
Refresh ~