{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "slope-chart",
  "title": "기울기 차트",
  "description": "두 시점의 순위와 변화",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/slope-chart.tsx",
      "target": "components/quant/slope-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\": \"slope\",\n  \"title\": \"두 기준일의 구성 비중\",\n  \"unit\": \"%\",\n  \"x\": [\n    \"이전\",\n    \"현재\"\n  ],\n  \"rows\": [\n    {\n      \"name\": \"ALFA\",\n      \"value\": 12,\n      \"start\": 9,\n      \"end\": 12\n    },\n    {\n      \"name\": \"BETA\",\n      \"value\": 7,\n      \"start\": 8,\n      \"end\": 7\n    },\n    {\n      \"name\": \"GAMA\",\n      \"value\": 6,\n      \"start\": 3,\n      \"end\": 6\n    }\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
