0
하이 차트를 사용하여 거품의 차트를 그렸습니다. 확대/축소 유형은 'xy'입니다. 플롯에서 거품이 나올 때 확대합니다. 하이 차트에 버블이 떨어지는 것을 방지하려면 어떻게해야합니까?
하이 차트를 사용하여 거품의 차트를 그렸습니다. 확대/축소 유형은 'xy'입니다. 플롯에서 거품이 나올 때 확대합니다. 하이 차트에 버블이 떨어지는 것을 방지하려면 어떻게해야합니까?
버그가 이미보고되었습니다. here입니다. 그것은 Highcharts 5.0.7 등장 - 그래서 당신은 Highcharts 5.0.6을 사용하여 피할 수
예 : http://jsfiddle.net/b8arLy77/1/ 5.0.7 버전에 대한 해결 방법으로
, 당신은 거품 그룹
chart: {
type: 'bubble',
plotBorderWidth: 1,
zoomType: 'xy',
events: {
load: function() {
var chart = this;
chart.clipBubble = chart.renderer.clipRect({
x: chart.plotLeft,
y: chart.plotTop,
width: chart.plotWidth,
height: chart.plotHeight
});
chart.series[0].data[0].graphic.parentGroup.parentGroup.clip(chart.clipBubble);
},
redraw: function() {
var chart = this;
chart.clipBubble.attr({
x: chart.plotLeft,
y: chart.plotTop,
width: chart.plotWidth,
height: chart.plotHeight
});
},
}
를 클립 수
답변 해 주셔서 감사합니다. – mrmr68