Allow explicit text categories in charts.

Issue #178