How to execute js function in Drab Commander

The values you set in the poke command are the Phoenix assigns. How are they bound to the elements? Like, how is “total_sent” assign bound to the element with ID “total-sent”?

You may use Drab to re-execute JS (see ‘Scripts’ chapter here), but obviously it would work only in the JS parts rendered with templates.

I am guessing that AnalyticsChart is not global? Try to set it up with something like window.AnalyticsChart = AnalyticsChart;