handle gaps in ordinal bar chart