This looks like a bug, so I have reported this issue -
https://github.com/highslide-software/h ... ssues/4135
As a workaround:
Custom code doesn't include generated options that are needed to display your chart.
Copy Generated options and add them to Custom code to make the chart work.
Or paste this already tested code:
Code: Select all
// Sample of extending options:
Highcharts.extend(options, Highcharts.merge(options, {
chart: {
backgroundColor: "#bada55"
},
plotOptions: {
series: {
cursor: "pointer",
events: {
click: function(event) {
alert(this.name + " clicked\n" +
"Alt: " + event.altKey + "\n" +
"Control: " + event.ctrlKey + "\n" +
"Shift: " + event.shiftKey + "\n");
}
}
}
},
"xAxis": {
"type": "category"
},
"series": [
{
"index": 0,
"name": "Number of people",
"data": [
[
"Other",
1620
],
[
"Rent arrears",
1220
],
[
"Mortgage arrears",
130
],
[
"Non-violent relationship breakdown",
335
],
[
"Violent relationship breakdown",
860
],
[
"Loss of rented/tied accommodation",
960
],
[
"Parents/relatives/friends no longer able/willing to accommodate",
1130
]
]
}
]
}));