Home > @i2analyze/notebook-sdk > app > IViewEditor > fitToHeight
app.IViewEditor.fitToHeight() method
Adjusts the position and zoom of the chart so that the full range of elements on the y axis is visible.
Signature:
fitToHeight(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