Function getStudyNabGraphURL

  • Retrieve the URL of an image that contains a graph of dilution curves for NAb results that have been copied to a study. Note that this method must be executed against the study folder containing the copied NAb summary data.

    <script type="text/javascript">
    function showGraph(data){
    var el = document.getElementById("graphDiv");
    if (data.objectIds && data.objectIds.length > 0)
    el.innerHTML = '<img src=\"' + data.url + '\">';
    else
    el.innerHTML = 'No graph available. Insufficient permissions, ' + 'or no matching results were found.';
    }

    function initiateGraph(ids){
    LABKEY.Assay.getStudyNabGraphURL({
    objectIds: ids,
    success: showGraph,
    captionColumn: 'VirusName',
    chartTitle: 'My NAb Chart',
    height: 500,
    width: 700,
    fitType: 'FOUR_PARAMETER'
    });
    }

    Ext.onReady(initiateGraph([185, 165]));
    </script>
    <div id="graphDiv">

    Parameters

    Returns XMLHttpRequest