# @univerjs-pro/docs-chart

> Language fallback: requested `ko-KR`; content is `en-US`.

- Human documentation: [https://docs.univer.ai/ko-KR/reference/packages/plugins/univerjs-pro/docs-chart](https://docs.univer.ai/ko-KR/reference/packages/plugins/univerjs-pro/docs-chart)

- Agent Markdown: [https://docs.univer.ai/ko-KR/reference/packages/plugins/univerjs-pro/docs-chart.md](https://docs.univer.ai/ko-KR/reference/packages/plugins/univerjs-pro/docs-chart.md)

- Requested language: `ko-KR`

- Content language: `en-US`

- Documentation version: `1.0.4`

- Source: [packages/plugins/univerjs-pro/docs-chart.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/packages/plugins/univerjs-pro/docs-chart.mdx)

---

Chart model integration and Facade APIs for Univer Docs.

```ts
import { UniverDocsChartPlugin } from '@univerjs-pro/docs-chart'

import '@univerjs-pro/docs-chart/facade'

univer.registerPlugin(UniverDocsChartPlugin)
```

For referenced sources, also register [`UniverChartEmbedPlugin`](https://docs.univer.ai/ko-KR/reference/packages/plugins/univerjs-pro/chart-embed.md) before opening the document. Inline values do not require it. Load `UniverDocsChartUIPlugin` from `@univerjs-pro/docs-chart-ui` for chart rendering and editing.

The root exports `DocChartResourceService`, `IDocChartDataSource`, and `IDocChartDataSourceInput`. Docs owns its chart snapshots and data sources. Use `IResourceRefChartDataSourceInput` from `@univerjs-pro/chart-embed` with chart builders. See [`FDocument.newChart()`](https://docs.univer.ai/ko-KR/reference/facade/document.md#newchart) and [`FDocumentChart`](https://docs.univer.ai/ko-KR/reference/facade/document-chart.md).

## Entry Points

* Facade: `@univerjs-pro/docs-chart/facade`
