You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adds
RangePicker: a chart's range as segmented buttons, or a labelled native select below collapseBelow pixels of screen width (default 480). Options are RangeOption<Value> ({ value, label, disabled? }), values can be numbers.
Trader pictures on trade markers: SeriesMarker takes optional avatar (picture URL) and name (for initials). A side ring and an up or down badge keep buy and sell clear without colour; the picture falls back to initials, then to the buy or sell shape. Pictures load lazily, once per page.
Overlapping markers group into one button with a "+N" count, named with its trades or "N trades from ... to ...: N buys, N sells". A picked group lists its trades under the chart.
SeriesChartsummary prop: the chart's description for screen readers; by default a sentence with its span, start, end, high and low.
Chart helpers in @firetailhosting/solscope-ui/chart and the main entry: chartSlots, chartRows, slotAtTime, xAtSlot, seriesSummary, colorWithAlpha, clusterMarkers, clusterLabel, clusterSide, markerLabel, markerFace, initials.
Changes
SeriesChart draws with Lightweight Charts 5.2.1 (Apache-2.0, TradingView) on a canvas, loaded in its own chunk once a chart mounts (about 62 kB gzipped). Props are unchanged.
The labels, crosshair, tooltip, keyboard slider, readout and markers stay DOM over the canvas, so keyboard and screen reader use work as in 0.17.0, including inspection kept through live ticks.
A new series wipes in from the left instead of drawing the line in; a live tick no longer replays it.
TradingView's attribution logo shows at the bottom left of each chart, above the time axis, as its license asks; it is a named link, last in the chart's tab order.
candleWidth and the along of markersInTime are no longer used by the chart but stay exported.