Add new option for pie and bar charts