# Hoover text on shapes

**URL:** <https://community.plotly.com/t/hoover-text-on-shapes/6343>\
**Category:** plotly.js\
**Created:** [October 18, 2017, 1:22am UTC](https://community.plotly.com/t/hoover-text-on-shapes/6343 "2017-10-18T01:22:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshijay655](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@joshijay655](https://community.plotly.com/u/joshijay655)\
**Post date:** [October 18, 2017, 1:22am UTC](https://community.plotly.com/t/hoover-text-on-shapes/6343/1 "2017-10-18T01:22:48Z")

</div>

Hi, Can i add a trace which goes over all the subplots like vertical lines spanning all stacked subplots.  
If I use shapes to do this, then I dont have option for hoover text on the line.

Is there a option to add vertical line in shape and also display hoover text on it ? Also, if If i add say 5 vertical lines with shapes, I am not able to like enable disable one, from the legends.

Any help is appreciated .

-Thanks  
JAy

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [October 18, 2017, 1:22pm UTC](https://community.plotly.com/t/hoover-text-on-shapes/6343/2 "2017-10-18T13:22:53Z")

</div>

> [@joshijay655](#):
>
> Is there a option to add vertical line in shape and also display hoover text on it ?

Not at the moment, unfortunately.

---

<div class="post-metadata">

**Author:** ![btran007](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@btran007](https://community.plotly.com/u/btran007)\
**Post date:** [October 18, 2017, 1:28pm UTC](https://community.plotly.com/t/hoover-text-on-shapes/6343/3 "2017-10-18T13:28:20Z")

</div>

Not sure if this is what you are looking for. I was having similar issue but now resolved.

https://codepen.io/etpinard/embed/preview/KXbgYZ?height=300&slug-hash=KXbgYZ&default-tabs=js,result&host=https://codepen.io&embed-version=2
