loader for chart