@univerjs-pro/chart-ui
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
Shared chart UI controls, formatting panels, and floating menu utilities for Web SDK chart editors.
TypeScript
import { ChartElementFloatMenu } from '@univerjs-pro/chart-ui'import enUS from '@univerjs-pro/chart-ui/locale/en-US'import '@univerjs-pro/chart-ui/lib/index.css'Entry Points
- Facade:
@univerjs-pro/chart-ui/facade - Locale:
@univerjs-pro/chart-ui/locale/* - Style:
@univerjs-pro/chart-ui/lib/index.css
Import the Facade entry to add exportImage({ format?: 'png' | 'svg' }) to live FChart instances. It returns a rendered data URL, or undefined when the current host has no UI renderer.
你觉得这篇文档如何?