added support for ordinal bar charts