Skip to content

Instantly share code, notes, and snippets.

@erikwett
Last active December 5, 2017 14:47
Show Gist options
  • Save erikwett/89426ed6c551b870a13b237abc22866a to your computer and use it in GitHub Desktop.
Save erikwett/89426ed6c551b870a13b237abc22866a to your computer and use it in GitHub Desktop.
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