fixes of line chart legend highlight