# Hover for TickLabels

**URL:** <https://community.plotly.com/t/hover-for-ticklabels/14396>\
**Category:** plotly.js\
**Created:** [October 9, 2018, 7:48pm UTC](https://community.plotly.com/t/hover-for-ticklabels/14396 "2018-10-09T19:48:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maradaka](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@maradaka](https://community.plotly.com/u/maradaka)\
**Post date:** [October 9, 2018, 7:48pm UTC](https://community.plotly.com/t/hover-for-ticklabels/14396/1 "2018-10-09T19:48:50Z")

</div>

How can I add a hover function to display data when I hover on the X - Axis Labels that are cutoff?

---

<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 10, 2018, 5:39pm UTC](https://community.plotly.com/t/hover-for-ticklabels/14396/2 "2018-10-10T17:39:44Z")

</div>

plotly.js doesn’t expose an official way to do that at the moment.

You can try selecting the axis ticks e.g with `d3.selectAll('.xticks')` and attaching your mouseover event handler.
