function getLabels(props) {
  const {domains, startingAngle, style} = props;
  return domains.map(({name}, index) => {
    const angle = (index / domains.length) * Math.PI * 2 + startingAngle;
    const radius = 1.2;
    return {
      x: radius * Math.cos(angle),
      y: radius * Math.sin(angle),
      label: name,
      style
    };
  });
}
Generate labels for the ends of the axes
@param {Object} props
 - props.domains {Array} array of object specifying the way each axis is to be plotted
  - props.startingAngle {number} the initial angle offset
 - props.style {object} style object for just the labels
@return {Array} the prepped data for the labelSeries