# AccumulationLegendOptions (@salmonui/charts/pie-chart)

> The AccumulationLegendOptions interface of @salmonui/charts/pie-chart.

Canonical: https://salmonui.dev/docs/reference/charts/pie-chart/AccumulationLegendOptions

```ts
import type { AccumulationLegendOptions } from '@salmonui/charts/pie-chart';
```

Entry index: https://salmonui.dev/docs/reference/charts/pie-chart (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/pie-chart.md).

## Reference

Kind: interface

```ts
interface AccumulationLegendOptions {
    readonly position?: 'top' | 'bottom' | 'start' | 'end' | undefined;
    readonly title?: string | undefined;
    readonly toggle?: boolean | undefined;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `position` | `readonly position?: 'top' \| 'bottom' \| 'start' \| 'end' \| undefined;` | optional |  |
| `title` | `readonly title?: string \| undefined;` | optional |  |
| `toggle` | `readonly toggle?: boolean \| undefined;` | optional | Clicking a legend item hides its points (`hiddenPoints`). Default true. |
