* y mode returns the elements that hit-test at the current y coordinate * @function Chart.Interaction.modes.y * @param {Chart} chart - the chart we are returning items from * @param {Event} e - the event we are find things at * @param {InteractionOptions} options - options to use * @p
(chart, e, options, useFinalPosition)
| 380 | * @return {InteractionItem[]} - items that are found |
| 381 | */ |
| 382 | y(chart, e, options, useFinalPosition) { |
| 383 | const position = getRelativePosition(e, chart); |
| 384 | return getAxisItems(chart, position, 'y', options.intersect, useFinalPosition); |
| 385 | } |
| 386 | } |
| 387 | }; |
nothing calls this directly
no test coverage detected