add outclick onlegend background