• Convert a DataXY to an array of array containing x,y.

    Parameters

    • data: DataXY<NumberArray>

      array of points {x,y}

    Returns [number, number][]