import type { AgBarChartFormat } from './agBarChart'; import type { AgChartDataMapping } from './shared/agChartShared'; import type { AgWidgetData } from './shared/agWidget'; /** * Grouped Bar Chart widget configuration. * Displays data as horizontal bars grouped by category. * * @example * const chart: AgBarChartGrouped = { * format: { * title: { text: 'Sales by Product', enabled: true } * }, * dataMapping: { * categoryKey: [{ id: 'product' }], * valueKey: [{ id: 'sales', aggregation: 'sum' }] * } * }; */ export interface AgBarChartGrouped extends AgWidgetData { /** * Widget type identifier. */ type: 'bar-chart-grouped'; }