the legend of my polar stacked column chart is cut off, like this:
How can i avoid this?
$('#container').highcharts({
series: [
{
name: 'someCategory #1',
data: [12, 13, 14, 15, 5, 17]
},
{
name: 'someCategory #2',
data: [13, 15, 4, 12, 14, 16]
},
{
name: 'someCategory #3',
data: [1, 15, 13, 4, 14, 30]
},
{
name: 'someCategory #4',
data: [13, 15, 3, 12, 1, 16]
}
],
chart: {
polar: true,
type: 'column',
borderWidth: 0,
backgroundColor: 'transparent',
plotBackgroundColor: 'transparent',
plotBorderWidth: 0,
width: 275,
height: 300
},
title: {
text: ''
},
subtitle: {
text: ''
},
legend: {
enabled: false,
},
xAxis: {
categories: ['thisisalong name', 'yetanotherreallylong name', 'i dont even know what to write', 'hmletsthinkofsomething', 'stillnonamethought of', 'thisisthelastone'],
},
yAxis: {
min: 0,
endOnTick: false,
showLastLabel: true,
labels: {
formatter: function () {
return this.value + '%';
}
}
},
tooltip: {
valueSuffix: '%',
followPointer: true
},
plotOptions: {
series: {
stacking: 'normal',
shadow: false,
groupPadding: 0,
pointPlacement: 'on'
},
}
});