i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > IViewEditor > fitToItems

    app.IViewEditor.fitToItems() method

    Adjusts the position and zoom of the chart so that a specific collection of elements is visible.

    Signature:

    fitToItems(items: IElementsAndRecords, options?: chart.IFitConstraints): void;
    

    Introduced: version 1.1

    Parameters

    Parameter Type Description
    items IElementsAndRecords The elements to make visible, and the records whose containing elements are to be visible.
    options chart.IFitConstraints (Optional) A set of constraints that place restrictions on the change to the viewport.

    Returns:

    void

    In this article
    Back to top © N. Harris Computer Corporation