Remove side effects in in clustered bar plot methods.

Remove side effects in `_generateAttrToProjector` and `_getDataToDraw` in clustered bar plot.
I would rather not expose it to the user, because it would be a new API endpoint and it is not in the scope of this PR.