/** Renders polarArea wedges (radius varies by value, angles equal) from parallel `data`+`labels`; not a substitute for ApexPieChart's equal-radius arcs. */ export type ApexPolarChartProps = { /** Defaults to "basic"; "monochrome" shades every wedge from one hue. */ variant?: PolarVariant; /** Wedge values, one per label; a larger value extends its wedge farther from the centre. */ data: number[]; /** Must be the same length and order as `data` — index i labels index i; a mismatched length misaligns wedges silently, no warning. */ labels: string[]; /** Heading above the chart, aligned by `titlePosition`. */ title?: string; /** Chart height as a px number or CSS string. Defaults to 400; also sizes the loading skeleton. */ height?: number | string; /** Chart width as a px number or CSS string. Defaults to 500; also sizes the loading skeleton. */ width?: number | string; /** Wedge colours in order. Defaults to the theme's categorical palette. */ chartColors?: string[]; /** Horizontal alignment of the title. Defaults to "center". */ titlePosition?: "left" | "center" | "right"; /** Title colour and font; defaults to 14px, weight 600 and the theme's text ink. */ titleStyle?: { color?: string; fontSize?: string; fontWeight?: number | string; fontFamily?: string; }; /** Legend overrides: label colours, series-coloured labels and position. Defaults to the text ink at the bottom. */ legendStyle?: { colors?: string | string[]; useSeriesColors?: boolean; position?: "top" | "right" | "bottom" | "left"; }; }; /** "monochrome" recolors every wedge as shades of one hue instead of the palette's distinct series colors. */ export type PolarVariant = "basic" | "monochrome";