About
A real-time line chart card that streams new data points and slides a fixed-width viewport window while keeping animation continuity, with controls to follow the latest points or show the full history.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Live Streaming Window Preservation Chart to your project and fits it to your theme.
Code
How Live Streaming Window Preservation Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import StreamingWindowPreservation from "@/components/ui/tanstack-charts-streaming-window-preservation";
export default function StreamingWindowPreservationDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<StreamingWindowPreservation />
</div>
);
}








