Set bubble transparency in Highcharts?

和自甴很熟 提交于 2019-12-13 16:22:56

问题


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.

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.

Edit: 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


回答1:


You can use fillOpacity parameter,

marker: {
          fillOpacity:0.3
        }

http://jsfiddle.net/g8JcL/116/



来源:https://stackoverflow.com/questions/15896821/set-bubble-transparency-in-highcharts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!