本文介绍了在Highcharts中设置泡泡透明度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法影响Highcharts气泡图中气泡的透明度?
我正在寻找一个类似于fillColor区域的配置,但没有找到它。
Is there a way to influence the transparency of the bubbles in Highcharts bubble charts?I was looking for a configuration comparable to area fillColor, but didn't find one.
我尝试使用rgba颜色作为系列,如下所示: / p>
I tried using rgba colors for the series, like so:
series: [{
color: "rgba(255,0,0,0.5)",
data: [
但这只是使边框半透明。
but that only made the border semi transparent.
编辑:
我试图使用marker fillColor:
I just tried to use marker fillColor:
series: [{
color: "rgba(255,0,0,1)",
marker: {
fillColor: "rgba(255,0,0,0.1)"
},
但不影响透明度
but that doesn't influence the transparency
推荐答案
您可以使用fillOpacity参数,
You can use fillOpacity parameter,
marker: {
fillOpacity:0.3
}
这篇关于在Highcharts中设置泡泡透明度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!