function positionIsHorizontal(position, axis) {
  return position === 'top' || position === 'bottom' || (KNOWN_POSITIONS.indexOf(position) === -1 && axis === 'x');
}
@typedef { import('../types/index.js').ChartEvent } ChartEvent
@typedef { import('../types/index.js').Point } Point