• Convert an array of XY arrays to a DataXY object containing x,y arrays

    Parameters

    • data: [number, number][]

      array of arrays [[x,y],[x,y],...]

    Returns DataXY<number[]>