moved legend outside of chart