export function e3ScaleMax(params, options = {}) {
  let [scale] = params;
  let {minus, add} = options;
  if(scale && scale.range) {
    let maxValue = max.apply(null, scale.range);