@univerjs-pro/slides-chart
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
How is this guide?