add link from legend text to original graph

Add link from legend text to original graph.