add the function of overview's pie chart