add line chart and pie chart