i2 Notebook SDK
Search results for

    Show/hide table of contents

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

    app.IViewEditor.fitToChart() method

    Adjusts the position and zoom of the chart so that all elements on it are visible.

    Signature:

    fitToChart(options?: chart.IFitConstraints): void;
    

    Introduced: version 1.1

    Parameters

    Parameter Type Description
    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