允许图表超出绘图区域

时间:2017-11-13 20:02:37

标签: highcharts overflow

反过来允许highcharts溢出plotarea吗?

Allow highcharts to paint outside Y Axis

小提琴Bubbles clipped

 Highcharts.chart('container', {

"chart":{"type":"bubble"},
"plotOptions":{"bubble":{"minSize":9,"maxSize":30}},

"xAxis":{"min":0},

"series":[
   {"name":"Acero", "data":[[604807,9091,19235608]],"color":"#ff0000"},
   {"name":"Xleado","data":[[189725,281,2006799]],"color":"#33A1DE"},       
     {"name":"Aleado","data":[[40261840,85391,156180]],"color":"#104E8B"}
         ]    
});

1 个答案:

答案 0 :(得分:1)

SVG clip-path属性负责隐藏气泡的某些部分。

可以通过CSS轻松禁用它:

.highcharts-series {
  clip-path: none;
}

现场演示: http://jsfiddle.net/kkulig/h5yymapp/