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.