export interface StackedBarChartProps { /** * Colors for each bar segment/key. */ barColors?: string[]; /** * Fixed height for the chart in pixels. If not set, height is calculated automatically. */ fixedHeight?: number | null; /** * Display names for each key in the legend. */ groups?: string[]; /** * Hide bar segments that have no values. */ hideEmptyValues?: boolean; /** * Hide the legend. */ hideLegend?: boolean; /** * List of keys to highlight initially. */ highlights?: string[]; /** * Delay in milliseconds before highlighting a key on hover. */ highlightDelay?: number; /** * Field names in data objects containing values for each stacked segment. */ keys?: string[]; /** * Position labels above the bars instead of to the left. */ labelAbove?: boolean; /** * Field name in data objects containing the row label. */ labelField?: string; /** * Minimum height for each bar row in pixels. */ minBarHeight?: number; /** * Maximum height for each bar row in pixels. */ maxBarHeight?: number; /** * Calculate bar widths relative to each row's total instead of the global maximum. */ relative?: boolean; /** * Delay in milliseconds before restoring highlights to initial state. */ restoreHighlightDelay?: number; /** * List of row labels to highlight. */ rowHighlights?: string[]; /** * Field name(s) to sort the data by. */ sortBy?: string | string[] | null; /** * Formatter function or d3 format string for bar values. */ xAxisTickFormat?: ((v: any) => string) | string; /** * Data to display, either as a URL string to fetch or an array of objects. */ data?: string | Record[] | null; /** * Type of data file when fetching from URL. */ dataUrlType?: 'json' | 'csv' | 'tsv'; /** * Aspect ratio (height/width) for the chart. */ chartHeightRatio?: number; /** * Enable social mode for optimal display when sharing on social media. */ socialMode?: boolean; /** * Aspect ratio to use in social mode. */ socialModeRatio?: number; } declare var __VLS_1: {}, __VLS_3: {}; type __VLS_Slots = {} & { 'header-left'?: (props: typeof __VLS_1) => any; } & { 'header-right'?: (props: typeof __VLS_3) => any; }; declare const __VLS_base: import('../../../node_modules/vue').DefineComponent[] | null) => any; resized: () => any; }, string, import('../../../node_modules/vue').PublicProps, Readonly & Readonly<{ onLoaded?: ((data: Record[] | null) => any) | undefined; onResized?: (() => any) | undefined; }>, { keys: string[]; data: string | Record[] | null; relative: boolean; highlights: string[]; sortBy: string | string[] | null; chartHeightRatio: number; socialMode: boolean; socialModeRatio: number; dataUrlType: "json" | "csv" | "tsv"; xAxisTickFormat: ((v: any) => string) | string; fixedHeight: number | null; groups: string[]; hideLegend: boolean; labelField: string; barColors: string[]; hideEmptyValues: boolean; highlightDelay: number; labelAbove: boolean; minBarHeight: number; maxBarHeight: number; restoreHighlightDelay: number; rowHighlights: string[]; }, {}, {}, {}, string, import('../../../node_modules/vue').ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };