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