plainheart edited a comment on issue #13000:
URL: 
https://github.com/apache/incubator-echarts/issues/13000#issuecomment-661762915


   从代码里看,你在 for 循环体内声明的变量 a,如果想要拼接,应该在 for 循环上边声明变量 a。
   ```js
   formatter: function (obj) {
     var value = obj.value;
     var a = '';
     for(var i = 0; i< 3;i++) {
         a += '<div>'+ obj.seriesName + entitiy[i] + '</div>'
     }
     return a;
   }
   ```


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to