Skip to content

ChartSyncProvider

Open .md
Live preview

Loading example…

Scopes chart sync to its children, so two groups that happen to use the same syncId never talk to each other. Optional: charts with the same syncId already sync through a shared default store.

import { ChartSyncProvider } from "@jcsoftdev/ui/charts";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/charts/core.

export const Default: Story = {};

Source of the Storybook story.

Prop Type Default Description
children * ReactNode

* marks a required prop.

packages/ui/src/charts/core/cartesian/sync.tsx