Skip to content

Instantly share code, notes, and snippets.

@erikwett
Last active December 5, 2017 14:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
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