finished api description for donut chart