Remove side effects in in clustered bar plot methods.

Remove side effects in `_generateAttrToProjector` and `_getDataToDraw` in clustered bar plot.
It is used in `abstractBarPlot` and `clustedBarPlot`.