Allowing to define class per bar in the barchart