Vspan - hover or label

Hello,

I’d like to view text with a Vspan region. Any ideas how I can do this? I don’t mind if it is hover or label or an extra dimension. Just someway of indicating on a plot what a Vspan is indicating.

Any suggestions?

I am thinking that I could use Vspan in combination with something like Points and get the ‘hover’ from the points.

Thank you,

Douglas

1 Like

@douglasmacdonald, did you find a solution to this? I would also like to do this and was hoping it would be possible with vdims and the hover tool directly with VSpan.

1 Like

Hi,

No, I didn’t. I think that I overlaid a separate plot of points/scatter with with hover values.

Best,

Douglas

Douglas, thanks for the reply. I ended up doing something similar to you, but using the Spikes element.

Leaving a few notes for myself and anyone else who comes across this:
I found this to work well with VSpan. I just used the beginning x-coordinate of each VSpan as the x-coordinate for a Spike with alpha set to zero. Spike can show vdims in the hover, so I was able to put multiple columns of text data into the hover.