option = { tooltip: { trigger: 'axis', formatter: function(params, ticket, callback) { var res = params[0].name; for (var i = 0, l = params.length; i < l; i++) { if (params[i].seriesType === 'line') { res += '<br/>' + params[i].seriesName + ' : ' + (params[i].value ? params[i].value : '-') + ''; } else { res += '<br/>' + params[i].seriesName + ' : ' + (params[i].value ? params[i].value : '-') + ''; } } return res; } }, grid: { containLabel: true }, legend: { show:false, data: ['DI','DI_rate','thickness','SI'] }, xAxis: [{ type: 'category', axisTick: { alignWithLabel: true }, data: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200] }], yAxis: [{ type: 'value', name: '', min: -0.6, max: 1.2, position: 'left', axisLabel: { formatter: '{value} ' } }], series: [ // { // name: 'thickness', // data: [0.407228633278,0.403751371763,0.400619055014,0.315922436298,0.154408617732,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.111427342503,0.198896480610,0.300220617299,0.492958666042,0.696273572972,0.777261127802,0.777532997882,0.972296205760,0.974520536064,0.977678316496,0.981959048756,1.175917148523,1.191561946709,1.126961263652,1.009378381776,1.019022033629,1.029917299655,1.042083018508,1.144616617472,1.119128549743,1.086784168595,1.104892528569,1.136199602979,1.127489882762,0.959086348308,0.758796086922,0.557017425952,0.555007920178,0.553557228159,0.552658108489,0.447030810592,0.279000752049,0.232720877926,0.006534583731,0.219774460670,0.376508059550,0.283684936508,0.285493941416,0.287612003287,0.031526354113,0.221855050655,0.088212772533,0.116890831405,0.212493151709,0.209951024429,0.207671307050,0.205641173772,0.203849716151,0.010339816539,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.126941775817,0.407348951569], // type: 'scatter', // symbolSize: function (data) { // return Math.sqrt(data)*20; // }, // itemStyle: { // shadowBlur: 10, // shadowColor: 'rgba(120, 36, 50, 0.5)', // shadowOffsetY: 5, // color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{ // offset: 0, // color: 'rgb(251, 118, 123)' // }, { // offset: 1, // color: 'rgb(204, 46, 50)' // }]) // } // }, { name: 'SI', data: [0.766349592519,0.776362937890,0.778635519746,0.763524334107,0.730750576971,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.831708982841,0.850188671502,0.873280735479,0.914478499242,0.948780336930,0.968813940563,0.966376296417,0.949697236572,0.964180578365,0.962318804732,0.959694657429,0.942705245109,0.935022172975,0.946571779393,0.953938362930,0.960563251766,0.966786332309,0.976137993364,0.979015341155,0.983271594656,0.991280378536,0.988704616432,0.970830255693,0.966196053764,0.969062067681,0.986739879159,1.000000000000,0.996701416967,0.978995475394,0.948670584612,0.913649127566,0.885901071435,0.850178017611,0.821956505075,0.805335985774,0.807283670293,0.807594153454,0.806022741846,0.801884858696,0.785011161933,0.749962885391,0.723434720591,0.704612113248,0.703737007466,0.715602829427,0.733633509777,0.736098450296,0.719212324061,0.720691349825,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.000000000000,0.738710597199,0.743714591176], type: 'scatter', symbolSize: function (data) { return Math.sqrt(data)*10; }, itemStyle: { // shadowBlur: 10, // shadowColor: 'rgba(0, 0, 0, 0.5)', // shadowOffsetY: 5, color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{ offset: 0, color: '#7193D1' }, { offset: 1, color: '#7193D1' }]) }, }, ] };