API

@univerjs-pro/slides-chart

この API ページの本文は現在英語です。コードのシグネチャと識別子は表示言語によって変わりません。

Chart elements, resources, commands, and Facade APIs for Univer Slides in Web SDK.

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

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

The root exports ISlideChartDataSource and ISlideChartDataSourceInput; FSlideChart.getChartData() returns the chart snapshot and its host data source, or null when unavailable. Use IResourceRefChartDataSourceInput from @univerjs-pro/chart-embed with chart builders. See the Slides chart guide.

Entry Points

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

このガイドはいかがですか?

© 2026 DreamNum Co., Ltd.