resolveData
resolveData(
data,config,palette?):ResolvedData
Defined in: utils/helpers.ts:290
Schema-agnostic data resolution.
Accepts any array of objects and auto-detects label/value fields, or uses explicit field mapping from the user.
When mapping.colorField is set, each resolved Dataset also gets
a parallel colors array. The third arg supplies the active theme palette
for hash-fallback when a category has no explicit colorMap entry.
Parameters
Section titled “Parameters”Record<string, any>[] | null | undefined
config
Section titled “config”palette?
Section titled “palette?”string[] = []