barcharts working, but no legend