# updateDie

Wafer map: patch one die's data (creates the cell when absent).

Canonical: https://chart.syidax.com/docs/methods/updateDie/

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

## Definition

```typescript
updateDie(col: number, row: number, patch: { bin?: number | string; value?: number }): Promise<unknown | null>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `col` | `number` | Required |
| `row` | `number` | Required |
| `patch` | `{ bin?: number \| string; value?: number }` | Required |

Return type: `Promise<unknown | null>`. Call the method after element registration and await its Promise result.

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

## Related charts

- [sy-wafer-map](https://chart.syidax.com/docs/components/wafer-map.md#method-updateDie)
