852 change stacked bar plot

Retarget from #933
Thanks!