revert legend and tootltip for parties