createCentricChart
Creates a typed context for centric Polar charts. Motivation:Recharts components fall back to This Chart Helper allows you to perfectly align your data properties and ensure all your charts and axes work in harmony. Once you define the helper with your generic requirements, all returned components strictly enforce your data structure, catching Layout Binding:Curries chart definitions to strictly bind Available since Recharts 3.8any by default. While explicit typing using Generics works per-component, it becomes tedious and error-prone across an entire chart.dataKey typos and shape errors early.layout="centric" prop behavior statically onto components. By wrapping the chart implementations, it completely masks the layout prop on initialization to prevent regressions. Evaluates TComponents generics at compile-time to reject radial-only elements natively (RadialBar, Pie, etc.)
Return value
Function