@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
你觉得这篇文档如何?