function getSeriesChildren(children) {
  return React.Children.toArray(children).filter(
    child => child && isSeriesChild(child)
  );
}
Get all series from the 'children' object of the component.
@param {Object} children Children.
@returns {Array} Array of children.