barchart with error indication