packages/victory-core/src/victory-util/scale.js
function toNewName(scale) {
  // d3 scale changed the naming scheme for scale from "linear" -> "scaleLinear" etc.
  const capitalize = (s) => s && s[0].toUpperCase() + s.slice(1);
  return `scale${capitalize(scale)}`;
}
function toNewName(scale) {
  // d3 scale changed the naming scheme for scale from "linear" -> "scaleLinear" etc.
  const capitalize = (s) => s && s[0].toUpperCase() + s.slice(1);
  return `scale${capitalize(scale)}`;
}
function toNewName ( scale ) { // d3 scale changed the naming scheme for scale from "linear" -> "scaleLinear" etc. const capitalize = ( s ) => s && s [ 0 ] . toUpperCase ( ) + s . slice ( 1 ) ; return ` ${ capitalize ( scale ) } ` ; }
Private Functions
Private Functions