Skip to content

GraphRenderer.setPan method

GraphRenderer › setPan

Unofficial

Set the pan offset to the given coordinates.

Signature:

setPan(panX: number, panY: number): void

Parameters:

Parameter Type Description
panX number The pan offset along the x axis.
panY number The pan offset along the y axis.

Returns: void