API 参考

@univerjs-pro/boards-chart

本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。

Chart model integration and Facade APIs for Univer Boards.

TypeScript
import { UniverBoardsChartPlugin } from '@univerjs-pro/boards-chart'import '@univerjs-pro/boards-chart/facade'univer.registerPlugin(UniverBoardsChartPlugin)

For referenced sources, also register UniverChartEmbedPlugin before opening the board. Inline values do not require it. Load UniverBoardsChartUIPlugin from @univerjs-pro/boards-chart-ui for chart rendering and editing.

The root exports IBoardChartDataSource and IBoardChartDataSourceInput; FBoardChart.getDataSource() returns the host's data-source type. Use IResourceRefChartDataSourceInput from @univerjs-pro/chart-embed with chart builders. See FBoard.newChart() and FBoardChart.

Entry Points

  • Facade: @univerjs-pro/boards-chart/facade

你觉得这篇文档如何?

© 2026 DreamNum Co., Ltd.