import type { Meta, StoryObj } from "@storybook/react-vite" import { PieLabelExample, PieLabelListExample, PiePlainExample, PieStackedExample } from "@hm-design/chart/examples" import { StoryPage, StoryPageHeader, StorySection } from "@/components/story-page" // Sample data only. All pies share one item list and color mapping; the stacked pie draws two series as concentric rings. const meta = { title: "Chart/Pie Chart", parameters: { layout: "fullscreen", controls: { disable: true } }, } satisfies Meta export default meta type Story = StoryObj export const Pie: Story = { name: "Pie Chart", render: () => ( {/* Same grid as Bar, Line and Donut Chart: two per row from 1024px, one below; source order is the mobile order. */}
), }