ECharts · Example

option
option = { title : { text: 'webkit内核依赖', subtext: '数据来自网络', x:'right', y:'bottom' }, tooltip : { trigger: 'item', formatter : "{b}" }, toolbox: { show : true, feature : { restore : {show: true}, saveAsImage : {show: true} } }, 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.gravity = 1.1; webkitDepData.scaling = 1.1; webkitDepData.steps = 20; webkitDepData.large = true; webkitDepData.useWorker = true; webkitDepData.coolDown = 0.995; webkitDepData.itemStyle = { normal : { linkStyle : { opacity : 0.5 } } } return [webkitDepData]; } else { return []; } })() };
切换主题