---
title: Fit View with Shortcuts
order: 15
---

Allow the end-user to call a function of Graph with shortcuts keys.

允许终端用户使用键盘组合键调用 Graph 的函数。

## Usage

E.g. press down 'control' and '1' on keyboard to make the graph fit the canvas. Attention: make sure the focus is on the canvas when the end-user is pressing keys to call the function. For more information, please refer to [shortcuts-call](/en/docs/manual/middle/states/defaultBehavior/shortcuts-call).
