Hide barchart legend when groups aren't specified. Fixes #140.