Make chart load onLoad