I have been extracting data from the mtgox api and after analyzing my console, I can confirm that all the data is being properly delivered to my chart. Nevertheless, I am facing difficulties in getting the data to actually display on my chart. Any assistance in resolving this issue would be greatly appreciated. thank you.
var currentDate = new Date();
$('#container').highcharts({
chart: {
type: 'line',
},
title: {
text: 'Bitcoin Price',
},
subtitle: {
text: 'Source: MtGox.com',
},
xAxis: {
type: 'datetime'
},
plotOptions: {
series: {
pointStart: Date.UTC(currentDate.getYear(), currentDate.getMonth(), currentDate.getDate()),
pointInterval: 24 * 3600 * 1000 // one day
}
},
yAxis: {
title: {
text: 'Price'
},
},
series: [{
name: 'Bitcoin',
data: series
}]
});
}
});
});