import type { AgBarChartFormat } from './agBarChart'; import type { AgChartDataMapping } from './shared/agChartShared'; import type { AgWidgetData } from './shared/agWidget'; /** * 100% Stacked Bar Chart widget configuration. * Displays data as stacked horizontal bars normalized to 100%. * Useful for showing proportional relationships. * * @example * const chart: AgBarChartStacked100 = { * format: { * title: { text: 'Budget Allocation', enabled: true } * }, * dataMapping: { * categoryKey: [{ id: 'department' }], * valueKey: [ * { id: 'personnel', aggregation: 'sum' }, * { id: 'equipment', aggregation: 'sum' }, * { id: 'travel', aggregation: 'sum' } * ] * } * }; */ export interface AgBarChartStacked100 extends AgWidgetData { /** * Widget type identifier. */ type: 'bar-chart-stacked-100'; }