{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dumbbell-chart",
  "title": "덤벨 차트",
  "description": "관측과 전망 등 두 조건의 차이",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/dumbbell-chart.tsx",
      "target": "components/quant/dumbbell-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\": \"dumbbell\",\n  \"title\": \"관측 멤버십과 전망 확률\",\n  \"unit\": \"%\",\n  \"rows\": [\n    {\n      \"name\": \"위험선호\",\n      \"value\": 35,\n      \"start\": 48,\n      \"end\": 35\n    },\n    {\n      \"name\": \"전환\",\n      \"value\": 45,\n      \"start\": 29,\n      \"end\": 45\n    },\n    {\n      \"name\": \"위험회피\",\n      \"value\": 20,\n      \"start\": 23,\n      \"end\": 20\n    }\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
