Skip to content

Time series and interaction ​

AffinoTimeSeriesChart resolves interaction against the union of timestamps from visible series. Hover and keyboard navigation choose the nearest actual domain timestamp; values that are missing at that timestamp are omitted instead of interpolated.

The default legend toggles series visibility. The crosshair, focus state and tooltip share the resolved timestamp. When customizing a tooltip, own its presentation through the public slot and keep its accessible labels aligned with the supplied series.

vue
<AffinoTimeSeriesChart
  :series="series"
  title="Balance and equity"
  :interaction="{
    snap: 'nearest',
    tooltip: { followPointer: true, constrainToChart: true },
    crosshair: { snap: 'nearest' },
  }"
/>

Series timestamps must be sorted and unique. HLOC candle timestamps define a shared UTC domain; overlays and markers use supplied values. See the time-series package guide for the complete payload and validation contracts.