quick-sort opened a new issue #10578: 雷达图不支持数据集 encode方式 URL: https://github.com/apache/incubator-echarts/issues/10578 ### Version 4.2.1 ### Steps to reproduce ``` { backgroundColor: '#161627', title: { text: 'AQI - 雷达图', left: 'center', textStyle: { color: '#eee' } }, dataset: { source: [ ['date', 'AQI', 'PM25', 'PM10', 'CO', 'NO2', 'SO2'], [200, 100,100,100,100,100,100] ], sourceHeader: true }, legend: { bottom: 5, data: ['北京', '上海', '广州'], itemGap: 20, textStyle: { color: '#fff', fontSize: 14 }, selectedMode: 'single' }, // visualMap: { // show: true, // min: 0, // max: 20, // dimension: 6, // inRange: { // colorLightness: [0.5, 0.8] // } // }, radar: { indicator: [ {name: 'AQI', max: 400}, {name: 'PM25', max: 400}, {name: 'PM10', max: 400}, {name: 'CO', max: 400}, {name: 'NO2', max: 400}, {name: 'SO2', max: 400} ], shape: 'circle', splitNumber: 4, name: { textStyle: { color: 'rgb(238, 197, 102)' } }, splitLine: { lineStyle: { color: [ 'rgba(238, 197, 102, 0.1)', 'rgba(238, 197, 102, 0.2)', 'rgba(238, 197, 102, 0.4)', 'rgba(238, 197, 102, 0.6)', 'rgba(238, 197, 102, 0.8)', 'rgba(238, 197, 102, 1)' ].reverse() } }, splitArea: { show: false }, axisLine: { lineStyle: { color: 'rgba(238, 197, 102, 0.5)' } } }, series: [ { name: '北京', type: 'radar', encode: { value: 'date' }, symbol: 'none', itemStyle: { normal: { color: '#F9713C' } }, areaStyle: { normal: { opacity: 0.1 } } } ] } ``` ### What is expected? encode.value = ['AQI', 'PM25', 'PM10', 'CO', 'NO2', 'SO2']时正常画出雷达图 ### What is actually happening? encode.value=['date']时才画出雷达图 <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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]
