ChartSyncProvider
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
Section titled “Import”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.
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/charts/core/cartesian/sync.tsx