import type { ChartAnimationProps, ChartContainerBaseProps, ChartPluginEntry, ChartTheme } from '@primeui/chart-types'; import type { CSSProperties } from 'vue'; export type RendererHint = 'cartesian' | 'heatmap' | 'radial' | 'rect'; export type { ChartPlugin, ChartPluginEntry } from '@primeui/chart-types'; export interface ChartSvgProps extends Omit, ChartAnimationProps { /** Chart width in pixels (max width when responsive). */ width?: number; /** Chart height in pixels (max height when responsive). */ height?: number; /** Custom CSS class */ class?: string; /** Custom inline styles */ style?: CSSProperties; /** * Theme overrides — series palette, chrome (axes, grid, labels), and effect coefficients. * SVG: each set field expands to a `--p-chart-*` CSS variable on the chart container. * Unset fields fall through to `@primeui/chart-style` token defaults. */ theme?: ChartTheme; /** * Chart plugins (results of `defineChartPlugin`), each optionally paired with * options as a `[plugin, options]` tuple. Plugins read chart state, subscribe * to render frames/hover, and can paint an overlay layered above the chart. * Their returned API is surfaced on `$plugins[name]` and the default slot's * `plugins` binding. */ plugins?: ChartPluginEntry[]; }