data | array | — | [] | Controlled data array. Each object should contain fields matched by timeAccessor and valueAccessor. |
timeAccessor | string | function | — | "time" | Field name or function to access the x-axis value from each data point. |
valueAccessor | string | function | — | "value" | Field name or function to access the y-axis value from each data point. |
size | [number, number] | — | [500, 300] | Chart dimensions as [width, height]. |
margin | object | — | — | Chart margins: { top, right, bottom, left }. |
arrowOfTime | "left" | "right" | — | "right" | Direction that time flows across the chart. |
windowMode | "sliding" | "growing" | — | "sliding" | Data retention strategy. "sliding" discards old points beyond windowSize. |
windowSize | number | — | 200 | Ring buffer capacity when using sliding window mode. |
timeExtent | [number, number] | — | — | Fixed x-axis domain. Defaults to auto-fit. |
valueExtent | [number, number] | — | — | Fixed y-axis domain. Defaults to auto-fit. |
extentPadding | number | — | — | Padding factor applied to auto-computed extents. |
heatmapXBins | number | — | 20 | Number of bins along the x-axis. |
heatmapYBins | number | — | 20 | Number of bins along the y-axis. |
aggregation | "count" | "sum" | "mean" | — | "count" | How values are aggregated within each grid cell. |
showAxes | boolean | — | true | Show canvas-drawn axes. |
background | string | — | — | Background fill color for the chart area. |
enableHover | boolean | object | — | — | Enable hover annotations on cells. |
tooltipContent | function | — | — | Custom tooltip render function. Receives hover data. |
onHover | function | — | — | Callback fired on hover. Receives hover data or null. |
decay | DecayConfig | — | — | Configurable opacity decay. { type: "linear"|"exponential"|"step", halfLife?, minOpacity?, stepThreshold? } |
pulse | PulseConfig | — | — | Flash effect on new data. { duration?, color?, glowRadius? } |
staleness | StalenessConfig | — | — | Data liveness indicator. { threshold?, dimOpacity?, showBadge?, badgePosition? } |
annotations | array | — | — | Array of annotation objects. |
svgAnnotationRules | function | — | — | Custom SVG annotation render function. |
tickFormatTime | function | — | — | Custom formatter for x-axis tick labels. |
tickFormatValue | function | — | — | Custom formatter for y-axis tick labels. |
className | string | — | — | CSS class name for the chart container. |