2

In Highcharts Bubblechart if i two bubbles comes near one another or intersect one another, the name on top of one bubble is not displaying.

Is there a way to display both the bubble names.

In this the notice the two bubbles in top right enter code herehttp://jsfiddle.net/htb38096/

SM079
  • 412
  • 2
  • 7
  • 20

2 Answers2

2

You can enable the allowOverlap property for data labels:

plotOptions: {
    series: {
        dataLabels: {
            allowOverlap: true,
            ...
        }
    }
}

Live demo: http://jsfiddle.net/BlackLabel/k23xLjmn/

API Reference: https://api.highcharts.com/highcharts/series.bubble.dataLabels.enabled

ppotaczek
  • 36,341
  • 2
  • 14
  • 24
0

try this on dataLabels:

dataLabels: {
      enabled: true,
      useHTML: true,             
      style: { textShadow: 'none',fontSize: '10px',color:'black' },
      formatter: function() {
             return this.point.name;
      },
}
4givN
  • 2,936
  • 2
  • 22
  • 51