moved the chart so that axis labels fit better. Added checks for nil returns on the chart data.