# updateSection

Funnel / pyramid-only — patch a section.

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

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

## 정의

```typescript
updateSection(idOrIndex: string | number, patch: Partial<FunnelSectionSpec>): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `patch` | `Partial<FunnelSectionSpec>` | 필수 |

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

- [FunnelSectionSpec](https://chart.syidax.com/ko/docs/types/FunnelSectionSpec.md) — 타입 정의

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

## 관련 차트

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