API 참조

@univerjs/preset-sheets-advanced

이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
TypeScript
import { UniverSheetsAdvancedPreset } from '@univerjs/preset-sheets-advanced'const preset = UniverSheetsAdvancedPreset()

The preset includes the Sheets PivotTable, chart, PivotChart, and slicer model/UI plugins. Use it with the Sheets core and drawing presets. For PivotChart APIs, also import @univerjs-pro/sheets-pivot-chart/facade; see the PivotChart guide.

With Worker calculation, pair UniverSheetsAdvancedPreset({ useWorker: true }) on the main thread with UniverSheetsAdvancedWorkerPreset() from @univerjs/preset-sheets-advanced/worker. The Worker preset registers UniverSheetsPivotChartWorkerPlugin; drawing and chart bindings remain on the main thread.

IUniverSheetsAdvancedPresetConfig

OptionTypeBehavior
licensestringLicense passed to UniverLicensePlugin.
universerEndpointstringBase URL for exchange upload, task, signed URL, import, export, and download endpoints.
useWorkerbooleanDisables main-thread calculation in the Pro formula, PivotTable, PivotChart, and slicer plugins. Configure the Worker and its advanced preset separately.
formula.functioncustom function configurationCustom functions passed to the Pro formula engine.
exchangeClientOptionsPartial<IUniverSheetsExchangeClientConfig>Spreadsheet import/export options; see exchange configuration.
print.enforceWatermarkbooleanControls print watermark enforcement.
pivot.maxLimitItemCountnumberMaximum pivot item limit.
slicer.maxMemberWindowSizenumberMaximum members per slicer query window. Defaults to 200; must be a positive integer. See slicer configuration.

이 가이드는 어떠셨나요?

© 2026 DreamNum Co., Ltd.