function getLabels(props) {
  const {domains, style} = props;
  return domains.map(domain => {
    return {
      x: domain.name,
      y: 1.1,
      label: domain.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.style {object} style object for just the labels
@return {Array} the prepped data for the labelSeries