import type { Meta, StoryObj } from "@storybook/react-vite" import { HMRadarChart } from "@hm-design/chart" import { sampleRadar } from "@hm-design/chart/examples" import { StoryPage, StoryPageHeader, StorySectionGrid } from "@/components/story-page" import { ChartSampleNotice, ChartSpecimen, chartGrid, chartPageClass } from "./chart-story" // Sample data only. All radars share one data set (six axes, two series) and the 0-100 axis range. Same data and props as the // @hm-design/chart/examples cards; open layout (no card): see chart-story.tsx. const meta = { title: "Chart/Radar Chart", parameters: { layout: "fullscreen", controls: { disable: true } }, } satisfies Meta export default meta type Story = StoryObj export const Radar: Story = { name: "Radar Chart", render: () => ( {/* Two per row from 1024px, all four in one row from 1600px, one below. */} ), }