TradingView Lightweight Charts integration for MAIDR.
Makes Lightweight Charts (v5) price charts -- candlesticks, OHLC bars,
lines, areas, baselines and volume histograms, across any number of panes
-- navigable by keyboard and readable through sonification, text and
braille, and keeps MAIDR in step with the chart as it streams.
Remarks
Lightweight Charts is not bundled: the adapter reads the chart the host
page created. Two ways to use it:
bindLightweightChart (recommended) mounts MAIDR around the chart,
highlights the reader's bar over the canvas, and follows every
series.update(...) / series.setData(...) -- a new bar is announced in
monitor mode (M).
fromLightweightChart returns plain MAIDR JSON for the maidr
attribute or <Maidr data={...}>: audio, text and braille, but no
highlight and no live sync.
TradingView Lightweight Charts integration for MAIDR.
Makes Lightweight Charts (v5) price charts -- candlesticks, OHLC bars, lines, areas, baselines and volume histograms, across any number of panes -- navigable by keyboard and readable through sonification, text and braille, and keeps MAIDR in step with the chart as it streams.
Remarks
Lightweight Charts is not bundled: the adapter reads the chart the host page created. Two ways to use it:
series.update(...)/series.setData(...)-- a new bar is announced in monitor mode (M).maidrattribute or<Maidr data={...}>: audio, text and braille, but no highlight and no live sync.Example