I'm currently trying to use data from a google sheet to create a highchart. However, even after making the sheet public and publishing it to the web, it still does not generate the data. I'm not sure what I'm doing wrong here and any help would be appreciate it.
The code snippet is here:
Highcharts.chart('container', {
chart: {
polar: true,
type: 'line'
},
title: {
text: 'Objectives',
},
pane: {
size: '80%'
},
xAxis: {
categories: ['Financial Cost', 'Health Damages', 'Water Usage'],
tickmarkPlacement: 'on',
lineWidth: 0
},
yAxis: {
gridLineInterpolation: 'polygon',
lineWidth: 0,
min: 0
},
tooltip: {
shared: true,
pointFormat: '<span style="color:{series.color}">{series.name}: <b>${point.y:,.0f}</b><br/>'
},
legend: {
align: 'right',
verticalAlign: 'top',
y: 70,
layout: 'vertical'
},
series: [{
name: 'Design 2',
data: {googleSpreadsheetKey:
'1QwJuLpRWeXTTZ3k0zaUeCncHY1sRu6FxBnmlgsPw9pE',
},
pointPlacement: 'on'
}]
});
The google sheets link is: https://docs.google.com/spreadsheets/d/1QwJuLpRWeXTTZ3k0zaUeCncHY1sRu6FxBnmlgsPw9pE/edit?usp=sharing