I have a lightning component (inside another component) that loads chartJs resource and I am using afterScriptsLoaded to manage all de graph presentation logic. It works perfectly except for some cases when it doesn't render the graphs:
when other components navigate to its parent component
when its parent component tab is selected
I am supposing that afterScriptsLoaded event is called when the page loads the first time. And the other actions like switching tab doesn't reload scripts again. But I haven't found a workaround for this problem. Please someone with ideas?