Skip to content Skip to sidebar Skip to footer

How Do I Place The Labels Next To The Series On A Split Packed Bubble Chart?

Issue Using Highcharts I am trying to do away with the legend on a split packed bubble and place the series names under or near the visual groups (see illustration below). I tried

Solution 1:

You can use the parentNodeFormat feature or parentNodeFormatter callback to achieve the wanted effect. Using the callback you can return custom HTML element if you need.

Demo: https://jsfiddle.net/BlackLabel/j2hq9osz/

dataLabels: {
    enabled: true,
    parentNodeFormat: '{series.name}',
    format: '{point.name}',
    style: {
        color: 'black',
        textOutline: 'none',
        fontWeight: 'normal'
    }
}

API: https://api.highcharts.com/highcharts/series.packedbubble.dataLabels.parentNodeFormat

Post a Comment for "How Do I Place The Labels Next To The Series On A Split Packed Bubble Chart?"