API 参考

@univerjs-pro/pivot-cache

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

Shared Pivot Cache references, provider contracts, and registry used by PivotTables and PivotCharts. This is a library, not a plugin to register.

Host integrations register a provider with IPivotCacheProviderRegistry. Consumers acquire a disposable cache handle and subscribe to its changed$ observable. Dispose the handle when its consumer is removed; releasing it does not remove another report's cache reference.

Unit, Embedded, and Resource identify reference formats. A registered provider must implement resolution; a reference kind alone does not provide loading or persistence. This package owns no chart, drawing, or UI state and has no stylesheet, locales, or Facade entry.

For application integration, use @univerjs-pro/sheets-pivot-chart.

你觉得这篇文档如何?

© 2026 DreamNum Co., Ltd.