asciimancer opened a new issue #14726:
URL: https://github.com/apache/echarts/issues/14726
### Version
5.1.0
### Steps to reproduce
tooltip: {
formatter: (params) => {
return params.map(param =>{
return (
<span>{param.seriesName}</span>
)
})
}
}
### What is expected?
Renders array of span html elements.
### What is actually happening?
Nothing is rendered. Have to fall back on using string formatting to create
this, i.e. return `<span>${param.seriesName}</span>`. This works for really
simple solutions, but for the full code of what I need to do, this becomes
impractical very quickly.
---
Thank you! Echarts is quite amazing : )
<!-- 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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]