Skip to content

CategoryGroupAxis

Open .md
Live preview

Loading example…

Brackets and labels of category groups, placed offset pixels below the plot.

import { CategoryGroupAxis } 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
spans * readonly CategoryGroupSpan[]
offset * number

* marks a required prop.

packages/ui/src/charts/core/cartesian/category-group-axis.tsx