# Custum DataInspector display-value \[Makie\]

**URL:** <https://discourse.julialang.org/t/custum-datainspector-display-value-makie/79235>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [April 8, 2022, 6:27pm UTC](https://discourse.julialang.org/t/custum-datainspector-display-value-makie/79235 "2022-04-08T18:27:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [April 8, 2022, 6:27pm UTC](https://discourse.julialang.org/t/custum-datainspector-display-value-makie/79235/1 "2022-04-08T18:27:47Z")

</div>

I have a scatterplot, showing the time-evolution of some neural networks (x-axis = time) against performance (y-axis = performance). Each network has an ID. It would be fantastic if I could get the network ID (which I would supply for each datapoint, as a vector) when hovering a datapoint, and not the x and y coordinate.

Is it possible to show a custom set of values when hovering over datapoints, as opposed to the coordinates, using the `DataInspector` type?

---

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [April 8, 2022, 8:24pm UTC](https://discourse.julialang.org/t/custum-datainspector-display-value-makie/79235/2 "2022-04-08T20:24:13Z")

</div>

See [https://github.com/JuliaPlots/Makie.jl/issues/1759](https://github.com/JuliaPlots/Makie.jl/issues/1759)

If you just want the IDs it might be easier to write your own inspector. For scatter plots the index returned by `pick` directly matches the index in the position array that matches the marker position. Assuming your ID’s are sorted the same way, you can use that to get the right ID and show it as a text plot. (The new [event](https://makie.juliaplots.org/dev/documentation/events/#point_picking) docs should helpful for this, though there a bunch of methods used with `fig` or `ax` that only accept scenes in the current Makie version.)
