---
title: API
---

![tooltip](https://gw.alipayobjects.com/zos/antfincdn/Mr1Y0JPq1f/77c016b3-f51e-443d-b51a-af17564769ad.png)

#### Usage

There are two ways to configure tooltip

Method 1, pass in 'Boolean' to set whether to display a tooltip.

```ts
tooltip: false; // close tooltip
```

Method 2, pass in _TooltipCfg_ to configure the tooltip as a whole.

```ts
tooltip: {
  showCrosshairs: false,
  showMarkers: false,
}
```

#### Properties

<embed src="@/docs/common/tooltip.en.md"></embed>
