option = { title: { text: '誉达⑩号量化指数' }, tooltip: { trigger: 'axis' }, color: ["#FF0000", "#00BFFF", "#FF00FF", "#1ce322", "#000000", '#EE7942'], legend: { data: ['誉达⑩号', '上证指数', '深证指数', '中小板指', '沪深300', '创业板指'] }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, toolbox: { feature: { saveAsImage: {} } }, xAxis: { type: 'category', boundaryGap: false, data: ['2017/1/24','2017/1/25','2017/1/26','2017/2/3','2017/2/6','2017/2/7','2017/2/8','2017/2/9','2017/2/10','2017/2/13','2017/2/14','2017/2/15','2017/2/16','2017/2/17','2017/2/20','2017/2/21','2017/2/22','2017/2/23','2017/2/24','2017/2/27','2017/2/28','2017/3/1','2017/3/2','2017/3/3','2017/3/6','2017/3/7','2017/3/8','2017/3/9','2017/3/10','2017/3/13','2017/3/14','2017/3/15','2017/3/16','2017/3/17','2017/3/20','2017/3/21','2017/3/22','2017/3/23','2017/3/24','2017/3/27','2017/3/28','2017/3/29','2017/3/30',] }, yAxis: [{ type: 'value', axisLabel: { formatter: '{value} ' }, min: 0.98, max: 1.1 }], dataZoom: [{ type: 'inside', start: 50, end: 100 }, { show: true, type: 'slider', y: '90%', start: 50, end: 100 }], series: [{ name: '誉达⑩号', type: 'line', lineStyle: { normal: { width: 2, } }, data: [1,1.00344237,1.01153936,1.01203316,1.021617554,1.02022845,1.026765662,1.035330846,1.033605564,1.040114762,1.039702578,1.0336204,1.036993728,1.03024228,1.035840018,1.047523066,1.050882514,1.053564118,1.062139462,1.057222742,1.059269518,1.062838718,1.057032518,1.062427834,1.07368875,1.07976695,1.076146026,1.0727964,1.072426958,1.078833108,1.077325262,1.077117738,1.087439824,1.082047344,1.082332866,1.083443666,1.07747893,1.05643234,1.056891368,1.057457472,1.056107732,1.048221278,1.022602514,] }, { name: '上证指数', type: 'line', lineStyle: { normal: { width: 2, } }, data: [1,1.00222749,1.005288699,0.999242653,1.004591812,1.003353964,1.007773942,1.012928991,1.017231229,1.023640038,1.02398689,1.022414918,1.027706799,1.018943215,1.03099712,1.035251627,1.037762327,1.034631112,1.035283448,1.027401314,1.031560357,1.033215064,1.027837266,1.024107811,1.029059204,1.031776742,1.031219869,1.023611398,1.022341729,1.030061574,1.030796646,1.031569903,1.04021893,1.030198406,1.03444973,1.03788643,1.03267092,1.033730569,1.040381219,1.039588869,1.035130706,1.031426708,1.021539832,] }, { name: '深证指数', type: 'line', lineStyle: { normal: { width: 2, } }, data: [1,1.003662407,1.011114967,1.006366211,1.013798653,1.011469037,1.018967867,1.024259799,1.024626944,1.033121596,1.032527121,1.023708577,1.031424677,1.025787729,1.038972796,1.04669292,1.050578632,1.04939773,1.05051325,1.04144223,1.045243448,1.047987487,1.04282632,1.04586307,1.058414432,1.061417988,1.05600334,1.048232921,1.05124553,1.062196539,1.059364988,1.06049962,1.068688484,1.057723393,1.059425341,1.06488626,1.061557805,1.064526155,1.070931595,1.064413497,1.062539544,1.058267574,1.040911126,] }, { name: '沪深300', type: 'line', lineStyle: { normal: { width: 2, } }, data: [1,1.003403231,1.006987769,1.000011889,1.002603695,1.000365587,1.005599727,1.009463657,1.014575934,1.021349701,1.021207032,1.017019126,1.022731799,1.016938876,1.031785284,1.035182571,1.037245315,1.032358929,1.032516459,1.024304121,1.026262836,1.027936215,1.020998975,1.018847063,1.0243814,1.026604646,1.025050157,1.018573615,1.018855979,1.027835159,1.027416071,1.029481788,1.034793205,1.024182259,1.025311715,1.030287268,1.025442494,1.028988393,1.037197759,1.033761833,1.031315668,1.029942487,1.021492369,] }, { name: '创业板指', type: 'line', lineStyle: { normal: { width: 2, } }, data: [1,1.005093433,1.013437423,1.008349362,1.021077573,1.014995541,1.02278613,1.028400726,1.023350276,1.028185814,1.025886247,1.016730961,1.019562438,1.011632155,1.018127895,1.0321617,1.031565317,1.034778264,1.041488916,1.035218835,1.035428375,1.038012701,1.031796349,1.036035504,1.054560987,1.062663199,1.055560331,1.049816787,1.047705269,1.058918344,1.052008897,1.051901441,1.056688624,1.04751722,1.049752313,1.053642235,1.046936955,1.046824126,1.055834345,1.046372809,1.044669625,1.03652443,1.017450919,] }, { name: '中小板指', type: 'line', lineStyle: { normal: { width: 2, } }, data: [1,1.004020666,1.010565602,1.009638124,1.016976676,1.013885082,1.022257884,1.027115192,1.026645079,1.035793966,1.036638577,1.027723949,1.035691975,1.030337462,1.043213792,1.051263091,1.056388126,1.056220797,1.057400065,1.051804917,1.055859049,1.058246269,1.055573793,1.064413521,1.076067556,1.07753686,1.070961645,1.063933846,1.07060149,1.084953499,1.08232405,1.081551152,1.090016382,1.07724523,1.077606979,1.083783792,1.081433225,1.085240348,1.093407574,1.088373375,1.08544911,1.08265552,1.064013527,] }] };