I am pulling data from the mtgox api, I can see in my console that all the data is reaching my chart correctly. However, I cannot get the data to display on my chart. Any help is appreciated thanks.
var now = new Date();
$('#container').highcharts({
chart: {
type: 'line',
},
title: {
text: 'Bitcoin Price',
},
subtitle: {
text: 'Source: MtGox.com',
},
xAxis: {
type: 'datetime'
},
plotOptions: {
series: {
pointStart: Date.UTC(now.getYear(), now.getMonth(), now.getDate()),
pointInterval: 24 * 3600 * 1000 // one day
}
},
yAxis: {
title: {
text: 'Price'
},
},
series: [{
name: 'Bitcoin',
data: series
}]
});
}
});
});