About
A line chart with a continuous XY crosshair cursor that follows the mouse and shows a floating coordinate tooltip on each axis.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Free Crosshair Cursor Chart to your project and fits it to your theme.
Code
How Free Crosshair Cursor Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import EchartsFreeCursor from "@/components/ui/tanstack-charts-echarts-free-cursor";
export default function DemoEchartsFreeCursor() {
return (
<div className="flex w-full items-center justify-center p-8">
<EchartsFreeCursor />
</div>
);
}








