• Finds the max value in a zone

    Parameters

    • data: DataXY<NumberArray>

      Object that contains property x (an ordered increasing array) and y (an array)

    • options: XYMaxYOptions = {}

      Options

    Returns number

    • Max y on the specified range