Référence de l’API

@univerjs-pro/slides-chart

Cette page API est actuellement disponible en anglais. Les signatures et identifiants restent identiques dans toutes les langues.

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

Que pensez-vous de ce guide ?

© 2026 DreamNum Co., Ltd.