Adding spinner for chart loading.