import type { AgBarChartFormat } from './agBarChart'; import type { AgChartDataMapping } from './shared/agChartShared'; import type { AgWidgetData } from './shared/agWidget'; /** * Stacked Bar Chart widget configuration. * Displays data as stacked horizontal bars. * * @example * const chart: AgBarChartStacked = { * format: { * title: { text: 'Revenue Breakdown', enabled: true } * }, * dataMapping: { * categoryKey: [{ id: 'department' }], * valueKey: [ * { id: 'directSales', aggregation: 'sum' }, * { id: 'indirectSales', aggregation: 'sum' } * ] * } * }; */ export interface AgBarChartStacked extends AgWidgetData { /** * Widget type identifier. */ type: 'bar-chart-stacked'; }