import type { Meta, StoryObj } from "@storybook/react-vite" import { HMRadialBarChart, HMRadialMeterChart, HMRadialStackedChart } from "@hm-design/chart" import { sampleRadial, sampleRadialShape, sampleRadialStacked, sampleRadialText } from "@hm-design/chart/examples" import { StoryPage, StoryPageHeader, StorySectionGrid } from "@/components/story-page" import { ChartSampleNotice, ChartSpecimen, chartGrid, chartPageClass } from "./chart-story" // Sample data only. One chart per official shadcn/ui radial chart (radial-simple, -label, -grid, -text, -shape, -stacked). // Same data and props (angles, radii, tracks) as the @hm-design/chart/examples cards; open layout (no card): see chart-story.tsx. const meta = { title: "Chart/Radial Chart", parameters: { layout: "fullscreen", controls: { disable: true } }, } satisfies Meta export default meta type Story = StoryObj export const Radial: Story = { name: "Radial Chart", render: () => ( {/* Two per row from 1024px, three from 1200px, one below; source order is the mobile order. */} ), }