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

> The FunnelChartApi type of @salmonui/charts/pie-chart.

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

```ts
import type { FunnelChartApi } 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: type

```ts
type FunnelChartApi = AccumulationApi;
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `element` | `element: HTMLElement \| null;` | inherited | The root `<figure>` (null before mount). |
| `export` | `export: (options?: VizExportOptions \| undefined) => Promise<void>;` | inherited | Downloads the visualization; settles after the download starts. |
| `toBlob` | `toBlob: (format?: ImageFormat \| undefined) => Promise<Blob>;` | inherited |  |
| `toDataURL` | `toDataURL: (format?: ImageFormat \| undefined) => Promise<string>;` | inherited |  |
| `toSVGString` | `toSVGString: () => string;` | inherited | The drawn SVG markup with `xmlns`, synchronously; theme colors stay `var(--salmon-*)` references. `toBlob('svg')` is the standalone file with colors resolved. Empty before mount. |
| `print` | `print: () => Promise<void>;` | inherited |  |
| `focus` | `focus: () => void;` | inherited | Focuses the plot (the one tab stop). |
