Link in Legend Text

Hi,

Is it possible to set the text in the legend to be a link. E.g. if I have a legend with two entries (C_123, C_456), clicking on C_123 would take me to “https://somewebsite.com/C_123

This is not currently supported. The legends are rendered directly on the canvas, including the text,so it would require new work to support non-canvas / DOM labels. I'd encourage you to submit this idea as a potential feature request on the GH issue tracker.

In the mean time, one option would be to create a custom extension for a new DOM-based legend type. This would be a not-entirely trivial undertaking, though.

Thanks,

Bryan

···

On Jun 30, 2016, at 5:35 PM, Piyush Gupta <[email protected]> wrote:

Hi,

Is it possible to set the text in the legend to be a link. E.g. if I have a legend with two entries (C_123, C_456), clicking on C_123 would take me to "https://somewebsite.com/C_123"

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/851f6a59-2fd1-4944-92e7-176ad3bc1e8e%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.