Add chart data loading.