Add support for pie charts.