About
A line chart showing smoothed 7-day rolling-window moving averages for daily high and low values, with themed tooltips and a dashed threshold line.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Moving Average Line Chart to your project and fits it to your theme.
Code
How Moving Average Line Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import MovingAverageLine from "@/components/ui/tanstack-charts-moving-average-line";
export default function MovingAverageLineDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<MovingAverageLine />
</div>
);
}
















