zhibikanmohuakai opened a new pull request #10481: 
修复symbol使用Function时控制台提示symbolType.indexOf is not a function
URL: https://github.com/apache/incubator-echarts/pull/10481
 
 
   当尝试使用这种方式时,控制台报错`symbolType.indexOf is not a function`,我尝试过3.8到4.2.1都没有解决。
   ```js
    symbol: function (value) {
               if (value > 200) {
                   return 'circle'
               }
               return 'rect'
           }
   ```
   
[在这个#10440中,](https://github.com/apache/incubator-echarts/issues/10440),他说已修复,但是我发现并没有修复,可以看这个https://gallery.echartsjs.com/editor.html?c=xJRpq5QC2j&v=2
   所以我去修改了`util/symbol.js`用于渲染出图标,
   修改`makrt/MarkPointView.js`用于传递当前数据
   

----------------------------------------------------------------
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]

Reply via email to