I've seen similar questions about this topic but never seen this happen in Firefox. I'm using Firefox 49.0.2 on a modern mac running Yosemite.
My code that I just added which is holding up until I open the Developer Console:
var jsonSeries = [];
$.ajax({
url: 'https://api.simplymeasured.com/v1/analytics/<account-id>/profiles/metrics?filter=profile.id.eq(<numbers>)&filter=analytics.timeseries_key.gt(2016-10-01)&dimensions=analytics.timeseries_key.by(day)',
headers: {
'Authorization': 'Bearer <a long key>',
'Content': 'application/json',
'Cache-Control': 'no-cache, no-store'
},
type: 'GET',
dataType: 'json',
}).done(function(json) {
for (var i = 0; i < json.data.length; i++) {
jsonSeries.push(json.data[i]['attributes']['metrics']["analytics.audience_count"]);
}
});
var dataCT = {
labels: ['W1', 'W2', 'W3', 'W4', 'W5', 'W6', 'W7', 'W8', 'W9', 'W10'],
series: [
jsonSeries
]
};
var optionsCT = {
axisX: {
labelInterpolationFnc: function(value, index) {
return index % 2 === 0 ? value : null;
}
}
};
new Chartist.Bar('.ct-chart', dataCT, optionsCT);
The chart initialized afterwards even loads fine, it's just empty. Even if my Developer Console is open initially, the actual data won't appear until I simply resize the Developer Console. It seems like any trigger or action on the Developer Console will bring in the data.
With developer console initially open, reloading the page, even waited 10+ seconds just in case: