add support for 'others' and 'missing' in pie charts.

inspired by a similar tweak from https://github.com/lucabelluccini/kibana/