Pie chart is now smart enough to switch between calls and errors