xy-parser
    Preparing search index...

    Interface ParseXYOptions

    interface ParseXYOptions {
        bestGuess?: boolean;
        maxNumberColumns?: number;
        minNumberColumns?: number;
        numberColumns?: number;
        rescale?: boolean;
        uniqueX?: boolean;
        xColumn?: number;
        yColumn?: number;
    }
    Index

    Properties

    bestGuess?: boolean

    Will try to guess which columns are the best.

    false
    
    maxNumberColumns?: number

    A number that specifies the maximum number of y columns.

    "Math.max(xColumn, yColumn)+1"
    
    minNumberColumns?: number

    A number that specifies the minimum number of y columns.

    "Math.min(xColumn, yColumn)+1"
    
    numberColumns?: number

    If the file has 10 columns and you specify here 2 it will reflow the file.

    Number.MAX_SAFE_INTEGER
    
    rescale?: boolean

    Will set the maximum value to 1.

    false
    
    uniqueX?: boolean

    Make the X values unique (works only with 'xxyy' format). If the X value is repeated the sum of Y is done.

    false
    
    xColumn?: number

    A number that specifies the x column.

    0
    
    yColumn?: number

    A number that specifies the y column.

    1