import type { AgAreaChartFormat } from './agAreaChart'; import type { AgChartDataMapping } from './shared/agChartShared'; import type { AgWidgetData } from './shared/agWidget'; /** * Area Chart widget configuration. * Displays data as filled areas showing volume over categories. * * @example * const chart: AgAreaChart = { * format: { * title: { text: 'Revenue Over Time', enabled: true }, * style: { * theme: { * area: { series: { marker: { enabled: false } } } * } * } * }, * dataMapping: { * categoryKey: [{ id: 'date' }], * valueKey: [{ id: 'revenue', aggregation: 'sum' }] * } * }; */ export interface AgAreaChartStacked extends AgWidgetData { /** * Widget type identifier. */ type: 'area-chart-stacked'; }