$('#container2222').highcharts(aaa);
var aaa = {
title: {
text: 'Global temperature change'
},
subtitle: {
text: 'Data input from CSV'
},
data: {
csv: e.responseText
},
plotOptions: {
series: {
marker: {
enabled: false
}
}
},
series: [{
type: 'column',
lineWidth: 1
}, {
type: 'column',
color: '#c4392d',
negativeColor: '#5679c4',
fillOpacity: 0.5
},{
type: 'column',
lineWidth: 1
}]
}
console.log(aaa)
$('#container2222').highcharts(aaa);
But how to add
data: { csv: e.responseText
},
in ng-highcharts.
Please help me