Chart.Cursor

The hover and focus indicator.

JanFebMarAprMayJun01020304050
Chart of Projects published, Proposals accepted over 6 points
monthProjects publishedProposals accepted
January2418
February3122
March2825
April3530
May4236
June3833
<Chart.Cursor />

API

PropTypeDefault
variant"band" | "line"Which mark to draw. Defaults to the one that suits the scale: a band on a bar chart, a line on a line chart.

Plus every <g> prop. Source: chart/components/chart-cursor.tsx.

Place it before the marks so it is drawn behind them.