fixed legend for the historical load bargraph using the legend() function