{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "diverging-chart",
  "title": "발산 막대",
  "description": "양·음의 변화량을 같은 축에서 비교",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/diverging-chart.tsx",
      "target": "components/quant/diverging-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\": \"diverging\",\n  \"title\": \"비중 잔차\",\n  \"unit\": \"%p\",\n  \"rows\": [\n    {\n      \"name\": \"ALFA\",\n      \"value\": 0.7\n    },\n    {\n      \"name\": \"BETA\",\n      \"value\": -0.32\n    },\n    {\n      \"name\": \"GAMA\",\n      \"value\": 0.12\n    },\n    {\n      \"name\": \"DLTA\",\n      \"value\": -0.5\n    },\n    {\n      \"name\": \"EPSI\",\n      \"value\": 0.28\n    }\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
