Module analytics/adapters/uplotExperimental

@honua/sdk-js/analytics/uplot — the reference third-party chart adapter.

µPlot is a small (~50 KB), MIT-licensed, widely deployed canvas time-series library. This module proves the analytics presentation contract against a real library without Honua growing a chart engine:

  • uplot is an optional peer, reached only through a dynamic import with a variable specifier, so no bundler ever pulls it into a Honua entrypoint. createUplotAnalyticsAdapter() accepts an injected module or importModule, following the same seam as loadApacheArrow and loadDeckGlPeers.
  • Nothing µPlot-shaped crosses back into SDK core: brushes become temporal-brush / range-brush interactions and cursor movement becomes hover, all keyed by stable mark keys.
  • dispose() calls destroy(), removes the click listener, and drops the instance, so an unmounted chart holds no DOM or hook references.

This file is intentionally not re-exported from @honua/sdk-js/analytics: the barrel must stay free of every adapter so the core bundle guard can prove that an unused chart peer costs nothing.

Index

Interfaces

Type Aliases

Variables

Functions