import type { AgChartDataMapping, AgChartStyle, AgChartTheme } from './shared/agChartShared'; import type { AgWidgetData, AgWidgetDataFormat } from './shared/agWidget'; /** * Theme configuration for nightingale chart. */ export interface AgNightingaleChartTheme extends AgChartTheme { } /** * Style configuration for nightingale chart. */ export type AgNightingaleChartStyle = AgChartStyle; /** * Format configuration for nightingale chart widget. */ export type AgNightingaleChartFormat = AgWidgetDataFormat; /** * Nightingale (Rose) Chart widget configuration. * Displays data as segments with varying radii (also known as coxcomb chart). * Made famous by Florence Nightingale's visualization of mortality data. * * @example * const chart: AgNightingaleChart = { * format: { * title: { text: 'Seasonal Distribution', enabled: true } * }, * dataMapping: { * categoryKey: [{ id: 'season' }], * valueKey: [{ id: 'count', aggregation: 'sum' }] * } * }; */ export interface AgNightingaleChart extends AgWidgetData { /** * Widget type identifier. */ type: 'nightingale-chart'; }