# getScale

### Description

@short: 返回时间刻度的配置

@signature: getScale: () => any

### Returns
- ` scale` - (object) - 时间刻度的配置

### Example

~~~jsx
gantt.getScale();
~~~

### Related API
- [getLayoutView](api/method/getlayoutview.md)