public barchart utilities