{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "histogram-chart",
  "title": "히스토그램",
  "description": "같은 폭 구간의 빈도",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/histogram-chart.tsx",
      "target": "components/quant/histogram-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\": \"histogram\",\n  \"title\": \"일간 수익률 빈도\",\n  \"unit\": \"거래일\",\n  \"rows\": [\n    {\n      \"name\": \"−4~−3\",\n      \"value\": 4\n    },\n    {\n      \"name\": \"−3~−2\",\n      \"value\": 11\n    },\n    {\n      \"name\": \"−2~−1\",\n      \"value\": 26\n    },\n    {\n      \"name\": \"−1~0\",\n      \"value\": 60\n    },\n    {\n      \"name\": \"0~1\",\n      \"value\": 67\n    },\n    {\n      \"name\": \"1~2\",\n      \"value\": 30\n    },\n    {\n      \"name\": \"2~3\",\n      \"value\": 13\n    },\n    {\n      \"name\": \"3~4\",\n      \"value\": 5\n    }\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
