I\'m trying to show my charts based on the init() function load, but for some reason, the chart isn\'t showing. The chart is showing as undefined. Also when I click on the t