Last active
December 5, 2017 14:47
-
-
Save erikwett/89426ed6c551b870a13b237abc22866a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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