Add historgram and piechart