Closed orweinberger closed 9 years ago
Some visualizations do not return a callback function, for example:
var options = { caption: "Movie Views", query: { timeframe: 'last_30_days', interval: 'day', metrics: ['views'], collection: 'JoolaFlix', realtime: true } }; $('#example').Metric(options, function(err,obj) { console.log(err,obj); });
Will not run the console.log
console.log
Another example:
var options = { caption: "Movie Views", query: { timeframe: 'last_30_days', interval: 'day', dimensions: ['timestamp'], metrics: ['views'], collection: 'JoolaFlix', realtime: true } }; $('#example').Timeline(options, function(err,obj) { console.log(err,obj); });
Will run the console.log but obj is undefined.
obj
undefined
Missing the timeline commit
timeline
Resolved under another ticket #152
Some visualizations do not return a callback function, for example:
Will not run the
console.log
Another example:
Will run the
console.log
butobj
isundefined
.