cyang52 opened a new issue #13000:
URL: https://github.com/apache/incubator-echarts/issues/13000


   ### Version
   4.6.0
   
   ### Steps to reproduce
   假设有这么一组数据:
   
   var name1 = ['ww','22','ee'];
   
   我想将这个数据循环添加进tooltip 里,使用for 循环只能添加进入第一个元素:
       
       for (let i = 0; i <3; i  ){
       ......
       return '<div>' obj.seriesName   name1[i]   '</div>'
       ......
       }
   
   ### What is expected?
   将data1 中的元素添加进tooptip
   
   ### What is actually happening?
   只能添加进第一个(‘ww’)
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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:
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