customized plotting for stacked barchart