bar-chart and stack-chart updates