Remove side effects in clustered bar plot methods.

Remove side effects in `_generateAttrToProjector` and `_getDataToDraw` in clustered bar plot.