fixed misplaced stacklabels when redrawing charts