# Display (a different) value under scatter point

**URL:** <https://discourse.julialang.org/t/display-a-different-value-under-scatter-point/10821>\
**Category:** Visualization\
**Tags:** plots, plotlyjs\
**Created:** [May 10, 2018, 5:06pm UTC](https://discourse.julialang.org/t/display-a-different-value-under-scatter-point/10821 "2018-05-10T17:06:09Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)\
**Post date:** [May 11, 2018, 1:38am UTC](https://discourse.julialang.org/t/display-a-different-value-under-scatter-point/10821/7 "2018-05-11T01:38:38Z")

</div>

If you want to change the behavior programatically, you can do

```julia
p=plot(); PlotlyJS.relayout!(p.o,hovermode="closest")

```

Alternative values are `"x"` (the default) and `"y"` (which doesn’t seem to be accessible from the GUI).

---

_[View the full topic](https://discourse.julialang.org/t/display-a-different-value-under-scatter-point/10821)._
