Charts.js not working

I suspect this is the classic misunderstanding as to when onRendered is fired. This post may shed some light on what’s happening (although as we can’t see your “larger template” it’s speculation):