Skip to content

CategoryAxes

Open .md
Live preview

Loading example…

Gridlines along the value axis plus both axes of a categoryLayout.

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

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

export const Default: Story = {
render: (args) => <AxesFrame horizontal={false} title={args.title} grid={args.grid} />,
};

Source of the Storybook story.

Prop Type Default Description
layout * CategoryLayout
title string
grid boolean true

* marks a required prop.

packages/ui/src/charts/core/distribution/marks.tsx