const y2max = y2.max
    ? y2.max
    : _.max(
        _.map(getDataSeriesByAxis(graph, "y2"), (series) =>
          _.max(seriesData(series)),