format bar labels with barLabelFormat