Tooltip only show actual value


How can I make the tooltip only show the exact value?

For instance, lets say I have a line chart with 2 values: 5 and 10

When the user drags their finger between 5 and 10, its actually showing (6, 7, 8) and everything in between 5 and 10. I don’t want this. I only want it to show 5 or 10 because those are the actual datapoints. How can I achieve this?

Here is an example of the behavior I want:

Even though I drag the tooltip along the line, it only shows for the actual data points