* x mode returns the elements that hit-test at the current x coordinate * @param chart - the chart we are returning items from * @param e - the event we are find things at * @param options - options to use * @param [useFinalPosition] - use final element position (animation target) * @
(chart: Chart, e: Event, options: InteractionOptions, useFinalPosition?: boolean)
| 437 | * @return - items that are found |
| 438 | */ |
| 439 | x(chart: Chart, e: Event, options: InteractionOptions, useFinalPosition?: boolean): InteractionItem[] { |
| 440 | const position = getRelativePosition(e, chart); |
| 441 | return getAxisItems(chart, position, 'x', options.intersect, useFinalPosition); |
| 442 | }, |
| 443 | |
| 444 | /** |
| 445 | * y mode returns the elements that hit-test at the current y coordinate |
nothing calls this directly
no test coverage detected