Skip to content

Interface: ChartOptions ​

Options for createChart that are not part of the figure.

Properties ​

PropertyTypeDescription
registry?ChartRegistryRegistry to resolve trace types and components from. Default: the shared registry.
renderRoot?Pick<RenderRootOptions, "pixelRatio" | "createRenderer" | "scheduler" | "preserveDrawingBuffer">Low-level render-root options (tests inject a fake renderer and frame scheduler here). A pixelRatio here wins over config.pixelRatio (image export renders at its scale).

Released under the MIT License.