implemented StackedBarchart