bar char n pie chart changes