I would like to link a couple of episodes in tall diagrams to click any of them in the legend, turning both in the on / off pair.
For example, in this script , if I press 1A in the legend, I would also like to disable 2A , but do not leave 1B and 2B unaffected. Pressing 2A should also disable 1A , that is, the link should work in both directions.
Is there any way to achieve this?
source share