function getNearestRadialItems(chart, position, axis, useFinalPosition) {
  let items = [];

  function evaluationFunc(element, datasetIndex, index) {
    const {startAngle, endAngle} = element.getProps(['startAngle', 'endAngle'], useFinalPosition);
    const {angle} = getAngleFromPoint(element, {x: position.x, y: position.y});

    if (_angleBetween(angle, startAngle, endAngle)) {
      items.push({element, datasetIndex, index});
    }
  }

  evaluateInteractionItems(chart, axis, position, evaluationFunc);
  return items;
}
Helper function to get the items nearest to the event position for a radial chart
@param {Chart} chart - the chart to look at elements from
@param {Point} position - the point to be nearest to, in relative coordinates
@param {string} axis - the axes along which to measure distance
@param {boolean} [useFinalPosition] - use the element's animation target instead of current position
@return {InteractionItem[]} the nearest items