bar chart changes to legend and fixing mousover make bars