import type { AgBarChartFormat } from './agBarChart'; import type { AgChartDataMapping } from './shared/agChartShared'; import type { AgWidgetData } from './shared/agWidget'; /** * Grouped Column Chart widget configuration. * Displays data as vertical bars grouped by category. * * @example * const chart: AgColumnChartGrouped = { * format: { * title: { text: 'Sales by Region', enabled: true }, * style: { theme: { common: { legend: { enabled: true } } } } * }, * dataMapping: { * categoryKey: [{ id: 'region' }], * valueKey: [{ id: 'sales', aggregation: 'sum' }] * } * }; */ export interface AgColumnChartGrouped extends AgWidgetData { /** * Widget type identifier. */ type: 'column-chart-grouped'; }