# Hovercomaprecartesian should defaultly be on

**URL:** <https://community.plotly.com/t/hovercomaprecartesian-should-defaultly-be-on/10368>\
**Category:** plotly.js\
**Created:** [May 17, 2018, 8:47pm UTC](https://community.plotly.com/t/hovercomaprecartesian-should-defaultly-be-on/10368 "2018-05-17T20:47:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phanigokaa](https://avatars.discourse-cdn.com/v4/letter/p/4da419/32.png) [@phanigokaa](https://community.plotly.com/u/phanigokaa)\
**Post date:** [May 17, 2018, 8:47pm UTC](https://community.plotly.com/t/hovercomaprecartesian-should-defaultly-be-on/10368/1 "2018-05-17T20:47:48Z")

</div>

Hi , on my charts hoverclosestcartesian is defaultly on when a graph is loaded, i need hovercomparecartesian to be defaultly on when charts loads

---

<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:** [May 18, 2018, 12:57am UTC](https://community.plotly.com/t/hovercomaprecartesian-should-defaultly-be-on/10368/2 "2018-05-18T00:57:16Z")

</div>

have you tried setting `layout.hovermode: 'x'`
