{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "waterfall-chart",
  "title": "워터폴",
  "description": "기여분과 최종 절대합",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/waterfall-chart.tsx",
      "target": "components/quant/waterfall-chart.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport {ChartPanel} from \"./chart-panel\";\nimport type {Chart} from \"./chart-types\";\n\nconst example = {\n  \"kind\": \"waterfall\",\n  \"title\": \"기간 손익 분해\",\n  \"unit\": \"만원\",\n  \"rows\": [\n    {\n      \"name\": \"가격\",\n      \"value\": 95,\n      \"type\": \"delta\"\n    },\n    {\n      \"name\": \"환율\",\n      \"value\": -26,\n      \"type\": \"delta\"\n    },\n    {\n      \"name\": \"배당\",\n      \"value\": 11,\n      \"type\": \"delta\"\n    },\n    {\n      \"name\": \"비용\",\n      \"value\": -4,\n      \"type\": \"delta\"\n    },\n    {\n      \"name\": \"합계\",\n      \"value\": 76,\n      \"type\": \"total\"\n    }\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
