Add legend to interaction.