We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get the wrong color info of sunburst area . Could reproduce by echart demo.
Copy the following code in the echart demo: http://echarts.baidu.com/examples/editor.html?c=sunburst-simple to show the color in the tooltip. Note copy the code in the "options" part.
tooltip: { formatter: function (info) { let tooltipHtml=<div style='width: 38px; height: 5px; border-radius: 20px; background-color:${info.color};'> </div> return tooltipHtml; }, },
<div style='width: 38px; height: 5px; border-radius: 20px; background-color:${info.color};'> </div>
move the mouse to the "cousin Jenny" area, which should show the "blue" color bar in the tooltip, but it is not.
The text was updated successfully, but these errors were encountered:
fix: apache#8952 callback function params.color incorrect
87aed1a
d783ae2
7ed2cb0
Merge pull request #9238 from hling51325/master
ef9cf76
fix: #8952 callback function params.color incorrect
最后咋解决的?
Sorry, something went wrong.
@weizhanzhan 测试了下,我认为这个问题在当前ECharts版本中应该已经被解决了。
Ovilia
Successfully merging a pull request may close this issue.
One-line summary [问题简述]
Get the wrong color info of sunburst area . Could reproduce by echart demo.
Version & Environment [版本及环境]
Expected behaviour [期望结果]
Other comments [其他信息]
Copy the following code in the echart demo: http://echarts.baidu.com/examples/editor.html?c=sunburst-simple to show the color in the tooltip. Note copy the code in the "options" part.
tooltip: {
formatter: function (info) {
let tooltipHtml=
<div style='width: 38px; height: 5px; border-radius: 20px; background-color:${info.color};'> </div>
return tooltipHtml;
},
},
move the mouse to the "cousin Jenny" area, which should show the "blue" color bar in the tooltip, but it is not.
The text was updated successfully, but these errors were encountered: