import type { Meta, StoryObj } from "@storybook/react-vite" import { AreaCurveDotLabelExample, AreaCurveExample, AreaExpandedExample, AreaStackedExample, AreaStepDotLabelExample, AreaStepExample, AreaStraightColorLabelExample, AreaStraightExample, } from "@hm-design/chart/examples" import { StoryPage, StoryPageHeader, StorySection } from "@/components/story-page" // Sample data only. The eight examples share the Line Chart data: connection styles as a plain area (left) and with Dots and // value Labels (right), then Stacked (running total) and Expanded (each month normalized to 100%). const meta = { title: "Chart/Area Chart", parameters: { layout: "fullscreen", controls: { disable: true } }, } satisfies Meta export default meta type Story = StoryObj export const Area: Story = { name: "Area Chart", render: () => ( {/* Same grid and order as Line Chart, plus a Stacked | Expanded row. */}
), }