You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/08/29 09:34:15 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #17588: [Bug] symbolType.indexOf is not a function
echarts-bot[bot] commented on issue #17588:
URL: https://github.com/apache/echarts/issues/17588#issuecomment-1230021724
@zhuhangfeng It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**BODY**
### Version
5.1.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
{
type: 'lines',
zlevel: 2,
data: this.List,
effect: {
show: true,
period: 4, //The arrow points to the speed, the smaller the value, the faster the speed
trailLength: 0.02, //The larger the value of trail length[0,1], the longer and heavier the trail will be
symbol:function(e){
console.log(e)
},
symbolSize: 10, //icon size
color: '#fff',
animation: false,
},
lineStyle: {
type: 'solid',
width: 1, //The width of the trail line
opacity: 1, //The transparency of the trail line
curveness: 0.05, //The straightness of the trail line
color: 'red',
},
}
### Current Behavior
effect: {
show: true,
period: 4, //The arrow points to the speed, the smaller the value, the faster the speed
trailLength: 0.02, //The larger the value of trail length[0,1], the longer and heavier the trail will be
symbol:function(e){
console.log(e)
},
symbolSize: 10, //icon size
color: '#fff',
animation: false,
},
### Expected Behavior
If symbols are needed to display different images, using the callback function will report an error "TypeError: symbolType.indexOf is not a function"
### Environment
````markdown
- OS:window 10
- Browser: Chrome 104.0.5112.102
- Framework:vue@2
````
### Any additional comments?
_No response_
</details>
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org