i2 Notebook SDK
Search results for

    Show/hide table of contents

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

    app.IViewEditor.setViewport() method

    Sets the location on the chart that appears in the center of the viewport, and the zoom level.

    Signature:

    setViewport(viewport: chart.IViewportData): void;
    

    Introduced: version 1.1

    Parameters

    Parameter Type Description
    viewport chart.IViewportData The new position and zoom level of the chart in the viewport.

    Returns:

    void

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