Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
var defer = qlik.Promise.defer();
Highcharts.chart($element.find('div')[0], chartDef, function() {
// callback function called when Highcharts is ready
setTimeout(function() {
defer.resolve();
}, 1000); //one second delay was needed
});
return defer.promise;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment