fixed line chart legend on hover