Skip to content

Interface: ChartFigureSource ​

What chartToJSON reads from a chart. Chart provides data, layout and config; frames, datasets and registry are read when the chart exposes them.

Properties ​

PropertyModifierTypeDescription
configreadonlyunknown-
datareadonlyreadonly unknown[]-
datasets?readonlyReadonly<Record<string, Readonly<Record<string, unknown>>>>-
frames?readonlyunknown-
layoutreadonlyunknown-
registry?readonlyChartRegistryThe chart's registry, used to evaluate style functions on arrayOk attributes.

Released under the MIT License.