How to add data option in ng-highcharts to get csv data

63 views
Skip to first unread message

shanthi B

unread,
Jun 1, 2016, 1:22:33 AM6/1/16
to highcharts-ng
HI,
The following code works,
$('#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
Reply all
Reply to author
Forward
0 new messages