option = { title: { text: '' }, tooltip: { trigger: 'axis' }, legend: { data:['水压力2','水压力1'] }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, toolbox: { feature: { saveAsImage: {} } }, xAxis: { type: 'category', boundaryGap: false, data: ["2018-01-16 12:23", "2018-01-16 12:24", "2018-01-16 12:25", "2018-01-16 12:26", "2018-01-16 12:27", "2018-01-16 12:28", "2018-01-16 12:29", "2018-01-16 12:30", "2018-01-16 12:31", "2018-01-16 12:32", "2018-01-16 12:33", "2018-01-16 12:34", "2018-01-16 12:35", "2018-01-16 12:36", "2018-01-16 12:37", "2018-01-16 12:38", "2018-01-16 12:39", "2018-01-16 12:40", "2018-01-16 12:41", "2018-01-16 12:42", "2018-01-16 12:43", "2018-01-16 12:44", "2018-01-16 12:45", "2018-01-16 12:46", "2018-01-16 12:47", "2018-01-16 12:48", "2018-01-16 12:49", "2018-01-16 12:50", "2018-01-16 12:51", "2018-01-16 12:52", "2018-01-16 12:53", "2018-01-16 12:54", "2018-01-16 12:55", "2018-01-16 12:56", "2018-01-16 12:57", "2018-01-16 12:58", "2018-01-16 12:59"] }, yAxis: { type: 'value' }, series: [ { name:'水压力2', type:'line', stack: '总量', data:["-187061.500197", "-183836.329677", "-184693.657005", "-186180.783360", "-185552.961165", "-185552.961165", "-185552.961165", "-184282.607652", "-186198.736581", "-184783.075620", "-186252.601392", "-186108.979056", "-999999.999999", "-999999.999999", "-186881.594757", "-186306.473925", "-185463.358080", "-999999.999999", "-999999.999999", "-190496.005557", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999", "-999999.999999"] }, { name:'水压力1', type:'line', stack: '总量', data:["-165576.888477", "-166221.208725", "-164798.579517", "-164123.264877", "-165187.507056", "-165052.176432", "-165052.176432", "-165424.467780", "-164156.998005", "-164156.998005", "-164629.622157", "-164747.883300", "-167019.844992", "-167019.844992", "-165221.348292", "-164663.406765", "-165661.596672", "-165661.596672", "-165001.441605", "-165881.938365", "-165797.174400", "-164680.300356", "-164680.300356", "-167973.886080", "-163786.122357", "-165322.892592", "-164832.381285", "-164832.381285", "-165390.605952", "-166034.567556", "-165187.507056", "-164022.086085", "-164022.086085", "-165915.849957", "-165915.849957", "-165255.192960", "-164730.986277"] } ] };