function addPercentSignsToDisplayNames(series) {
  return series.map(s =>
    updateIn(s, ["data", "cols", 1], col => ({
      ...col,
      display_name: "% " + getFriendlyName(col),
    })),
  );
}
/// Add '% ' in from of the names of the appropriate series. E.g. 'Sum' becomes '% Sum'
Add '% ' in from of the names of the appropriate series.
Add ' % ' in from of the names of the appropriate series .
function addPercentSignsToDisplayNames(series) {
  return series.map(s =>
    updateIn(s, ["data", "cols", 1], col => ({
      ...col,
      display_name: "% " + getFriendlyName(col),
    })),
  );
}
function addPercentSignsToDisplayNames ( series ) { return series . map ( s => updateIn ( s , [ "data" , "cols" , 1 ] , col => ( { ... col , display_name : "% " + getFriendlyName ( col ) , } ) ) , ) ; }
Add '% ' in from of the names of the appropriate series.
Add ' % ' in from of the names of the appropriate series .