XiaoNode commented on issue #9583: Vue项目中Duplicate keys detected错误提示 URL: https://github.com/apache/incubator-echarts/issues/9583#issuecomment-447522222 emmmm...all right, the option is like this: ```javascript option = { color:['#FFD100', '#4778ED'], tooltip: { trigger: 'axis' }, legend: { orient: "vertical", left: "right", data: ["Defective product", " Production capacity"] }, xAxis: { type: 'category', boundaryGap: false, data: ['8:00', '9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00'] }, yAxis:[{ type: 'value', name:'y1', min:0, max:1500, interval:250, axisLabel: { formatter: '{value} ml' } }, { type: 'value', name:'y2', min:0, max:300, interval:50, axisLabel: { formatter: '{value} cc' } }] , series: [{ name:'Defective product', data: [820, 932, 901, 934, 1290, 1330, 1320,1450], type: 'line', areaStyle: { color:'rgba(255,209,0, 0.8)' }, smooth: true, lineStyle: { normal: { width: 5 } } }, { name:' Production capacity', data: [200, 250, 155, 102, 300, 119, 65,212], lineStyle: { normal: { width: 5 } }, type: 'line', areaStyle: { color:'rgba(71,120,237, 0.9)' }, smooth: true }] } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
