{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ex-loading-state-echarts-composed-chart",
  "registryDependencies": [
    "@evilcharts/echarts-composed-chart"
  ],
  "files": [
    {
      "path": "src/registry/examples/echarts/ex-loading-state-echarts-composed-chart.tsx",
      "content": "\"use client\";\n\nimport { EChartsComposedChart, type ChartConfig } from \"@/registry/charts/echarts-composed-chart\";\n\nconst data = [\n  { month: \"January\", revenue: 4200, profit: 1800 },\n  { month: \"February\", revenue: 5800, profit: 2400 },\n  { month: \"March\", revenue: 4100, profit: 1600 },\n  { month: \"April\", revenue: 6200, profit: 2800 },\n  { month: \"May\", revenue: 5400, profit: 2200 },\n  { month: \"June\", revenue: 7800, profit: 3400 },\n];\n\nconst chartConfig = {\n  revenue: {\n    label: \"Revenue\",\n    colors: {\n      light: [\"#3b82f6\"],\n      dark: [\"#6A5ACD\"],\n    },\n  },\n  profit: {\n    label: \"Profit\",\n    colors: {\n      light: [\"#10b981\"],\n      dark: [\"#34d399\"],\n    },\n  },\n} satisfies ChartConfig;\n\nexport function EChartsExampleComposedChart() {\n  return (\n    <EChartsComposedChart\n      isLoading // [!code highlight]\n      className=\"h-full w-full p-4\"\n      xDataKey=\"month\"\n      data={data}\n      config={chartConfig}\n    >\n      <EChartsComposedChart.Grid />\n      <EChartsComposedChart.XAxis dataKey=\"month\" tickFormatter={(value) => value.substring(0, 3)} />\n      <EChartsComposedChart.Legend />\n      <EChartsComposedChart.Tooltip />\n      <EChartsComposedChart.Bar dataKey=\"revenue\" />\n      <EChartsComposedChart.Line dataKey=\"profit\" />\n    </EChartsComposedChart>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}