{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "heatmap-chart",
  "title": "히트맵",
  "description": "상관·매트릭스의 조합별 값",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/heatmap-chart.tsx",
      "target": "components/quant/heatmap-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\": \"heatmap\",\n  \"title\": \"성과 상관관계\",\n  \"unit\": \"\",\n  \"x\": [\n    \"가치\",\n    \"추세\",\n    \"품질\",\n    \"저변동\"\n  ],\n  \"y\": [\n    \"가치\",\n    \"추세\",\n    \"품질\",\n    \"저변동\"\n  ],\n  \"matrix\": [\n    [\n      0,\n      0,\n      1\n    ],\n    [\n      1,\n      1,\n      1\n    ],\n    [\n      2,\n      2,\n      1\n    ],\n    [\n      3,\n      3,\n      1\n    ],\n    [\n      0,\n      1,\n      0.28\n    ],\n    [\n      1,\n      0,\n      0.28\n    ],\n    [\n      0,\n      2,\n      0.44\n    ],\n    [\n      2,\n      0,\n      0.44\n    ],\n    [\n      0,\n      3,\n      -0.19\n    ],\n    [\n      3,\n      0,\n      -0.19\n    ],\n    [\n      1,\n      2,\n      0.32\n    ],\n    [\n      2,\n      1,\n      0.32\n    ],\n    [\n      2,\n      3,\n      -0.45\n    ],\n    [\n      3,\n      2,\n      -0.45\n    ],\n    [\n      1,\n      3,\n      0.52\n    ],\n    [\n      3,\n      1,\n      0.52\n    ]\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
