# removeSection

Funnel / pyramid-only — remove a section by id or index.

Canonical: https://chart.syidax.com/ko/docs/methods/removeSection/

<a id="definition"></a>

## 정의

```typescript
removeSection(idOrIndex: string | number): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |

반환 타입: `Promise<boolean>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="related"></a>

## 관련 차트

- [sy-funnel-chart](https://chart.syidax.com/ko/docs/components/funnel.md#method-removeSection)
- [sy-funnel-chart](https://chart.syidax.com/ko/docs/components/pyramid.md#method-removeSection)
