why633630 commented on issue #9028: 用dataset这种方式渲染pie图时,如果name的值为数字,value会无效,渲染时用的是name的值 URL: https://github.com/apache/incubator-echarts/issues/9028#issuecomment-419759781 多谢,如果dataset是这种结构 ``` option = { legend: {}, tooltip: {}, dataset: { dimension:['name','value'], source: [ {name:'10', value:52.2}, {name:'20', value:52.2}, {name:'30', value:52.2}, {name:'40', value:52.2}, {name:'50', value:52.2} ] }, xAxis: {type: 'category'}, yAxis: {}, series: [ {type: 'pie'} ] }; ``` source明确的指定了name和value,是不是echarts也是通过猜测识别的(如果不指定encode时)?
---------------------------------------------------------------- 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]
