Home > @visualization-tools/cartesian-2d > ICartesian2dPlotRange > updateBounds
Signature:
updateBounds(bounds: IReadonlyRange2d<TArray>, maxZoom: number): void;
| Parameter | Type | Description |
|---|---|---|
| bounds | IReadonlyRange2d<TArray> | Defines the max extent of the plot, will be modified. |
| maxZoom | number | The max bounds will be divided by this value to determine the maximum zoom. |
Returns:
void