Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { EChartsComposedChart, type ChartConfig } from "@/components/evilcharts/charts/echarts-composed-chart"const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"]const revenue = [186, 305, 237, 73, 209, 214]const growth = [80, 200, 120, 190, 130, 140]const data = months.map((month, i) => ({ month, revenue: revenue[i], growth: growth[i],}))const config: ChartConfig = { revenue: { label: "Revenue", color: "#2563eb" }, growth: { label: "Growth", color: "#16a34a" },}export default function ComposedChartDemo() { return ( <EChartsComposedChart data={data} config={config} xDataKey="month" className="h-72 w-full max-w-xl" chartOptions={{ tooltip: { trigger: "axis" }, legend: { top: 0, right: 0, data: ["Revenue", "Growth"] }, grid: { left: 8, right: 8, top: 40, bottom: 8, containLabel: true }, xAxis: { type: "category", data: months, boundaryGap: true }, yAxis: { type: "value", splitLine: { lineStyle: { type: "dashed" } } }, series: [ { name: "Revenue", type: "bar", data: revenue, itemStyle: { color: "#2563eb", borderRadius: [4, 4, 0, 0] }, }, { name: "Growth", type: "line", data: growth, smooth: false, symbol: "circle", symbolSize: 6, lineStyle: { color: "#16a34a", width: 2 }, itemStyle: { color: "#16a34a" }, }, ], }} /> )}